Invert EQ slider



  • Maybe you know how to change percentage value of slider to frequency? I wan't create simply cutoff effect where 0 is 20khz and 100% is 20hz



  • Not sure where "Invert" fits into this, but here is a basic example of using a knob with a range of 0-100% to change the frequency of a filter.

    HiseSnippet 992.3oc0V0saaaCElxILa1aNXsXnn8Ng.L.mgr.4t1tALTTm3DOXzkTk4zhcWAMEULgoH0nnZqZQAx6vdP1qzdD1av1g5GKkMC2LCrgEek442OcNe7bnuVQYIIJMxo84YwLjymhmjIMyFNivknwGgb1FeBIwvztEhNLKljjvBPNNa78VANs2Dk+62exgDAQRY0hPnWn3T1Ovi3lZo9CdJWHFQBXmyiZX8CFLlpjCUBUJfmMvdnXBcN4B1oDqYsvHmsNNfaT5IFhgkfb17PUP1jYpWKKr+E7D9TAydnOZBDnBwiTh.Khs+GMbFWD3W8cmffn3WWE1nnJ743S3A7ExqqFeVtB2ZOZVObZsJ30eMgmSC3sYA7tEdBUyiM0ZrX6SvikPiJj.sflvpvVTqe0AOTAVHM6GQlyFogCK7n2i771y8gdd69cc6zsCzHRLtuhncGwEfI8ceraNwX+KXliCCYTSucJUsSgKbofKYtgoRpgqjtJ4Skpo8soTqD8npnXkDR9dPXEorc614cc6ztLF6mvLGXLZ9zTCqWkvQZ1Omxjzr8buuG7y8KK8ER36ySZ0GDfpgUIn2N4IdmcsAsL8CIBwTfM06pnxFnF.9Tkg8LYuc67tNs679Nt+UUggKUWYvDL8RUaY45U4XOYZzTltpvTYHztuJeZqqGehVTSZXnRNVxMOKlUdtlw0eILNTYQ0x8JQHXpIm4scIyahfGvzHNDjOBmWQQ4fu4cezyGeDwPpBCDQHKwLsga+XbNh8JX1PAgtM9HVxbiJN21x9HxoyGLouYQBubzfr5re1fDSlszrUtgnHdPff4qR31Resc+1SRRCC4uwVK9BTHWDk.jv3wQvXGjyswOOg4FvBIoBiaxbXH.vwmyBNWkOOJRE.VcG7oJcDQveKKvmoo.zsdi962agoGpfTAwb0QJ14nkJrfq4cW68SI.5rlyY+GLmwaoyYVZW+ZB2ag84F5rki2VKAuP++ea7VN0tKtXxTMX2DO5m9OdDc4dzai8Uhr3YJImVLNKGPswky1VwhTDZwbulBOqIE3jblW046N3rTf+snpe4iu7WN3PdrRPzWqNxFWuxvGX44pnM2Au3ix8FDW21Yt4f26gKa5t1h8MGbuM9r+G.1eTkZ3xKNg.a.fEB3SSil.OEkx.fJkLAjHrSK69whyd1yV.MgICxO7GvuRk8smcJU1uRIJhP0pWRK1pZu+7w4R.LIyejaa301vY2EqSwXu88rqu3ujRsCz9J.6K2m6uF970qgOOXM74gqgOOZM74aVCe91U5i889GjZTQEbSPf+w4Oqww4XIAXY4zTzeB3znT9F
    


  • @d-healey i made the same but as i said ealier i want achive something like this

    Knob value 0% = Filter freq is set to 20kHz
    Knob value 100% = filter freq is set to 20Hz

    I hope I explained it clearly now.



  • @arminh Oh I misread. Inverting a value is pretty straightforward, just subtract the value from the maximum possible value.

    HiseSnippet 945.3oc0VstaSjCE1SZMPBjJ.gP69uQUBoonR0DttRHDgl1fhfVlR.D+C43wowpdrm0iGVxhPh2Idg1Gg8M.NdtjYJDRqhDRT+Oet94y4yG6.shxRRTZjSyWMMlgbtDd3ToYRuIDtDMXGjyZ38HIFl1MWz1SiIIIrPjiyJO0Jvo4pnr0++3sIBhjxpDgPuQwormyi3lJoAceFWH5SBYuhGUy561c.UI6oDpT.Oqf8QwD5QjCY6Srl0.ibN2tgbiROzPLrDjypaqBmNbh5ej41+FdBejfY2zAMDBTt39JQnEwVondS3hvfxycBBhRPUUXk7pv0v6wC4yjWUMtblB2JOpWObZrH30oN77O8vyoF7VMGdWAOjp4wlJMVrcQ7.IznFSfVPcXkaKpwWbv8TfERyVQjiX80vlYd3cee+Mcumu+FOrcq1sfFQhw88Dsaet.Loi6ibyHFacHyr63wLpwa8BUqm6BWJ3Rl63TI0vURWk7YR0nN1TpUBOpJJVIgjuIDVQJai1s9X6VMKhwVILySLFMeTpg4UJrul82oLIc5lt21GVt2z0qysxc2lzOkk3xCEfrdkIwa8rju9F1.W.gdDgXDvn7NNxrApFn2WYXuP5sQqO1pYqO0x86UMd7b0UDLASOW0VltdQN5ISiFwzkEmRCgV9w4T3eNmpNkmlWSpYnRNPxMuHlI+YLMTQgzx4JPEXpIiwsVAianfGxzHNPrNONqJhx.b8w.nWOXGhgTFFHhPVhYZC2d.b1g8dXlPNQtIdGVxQFUblsE8NHzmXR+vrD949cmVk8C5FwCCEr.UB2Vfqz7eONIc7X9Grm9afhTgPBtNdekNhH3+KKLfooPxgwMvDpe3FGbuWElJHliOLvNArPgMY0u0YuYIAPLsdo4WxDhSKbuBNfanSlOdaLG7Bcve03sXdaab9LkJvtJt+aW1gqye1u+IMbs3EvqhCThowSTRNMePTFfZhKlJsfm.QnYSrpK7f5Tf8xXdk6+itGjB7uiW02lGqDD8opirxoqLbBO6sHZy0wyNTtmg351NyYG79m3hltqsXe1A2qgO32.v9RUpgKObOB7ABX.Od+zngvmHoL.nRISXe2zog8Et78918V.MjICy17UXUnricuSgxNkJQQDpV8NZ96h16OWHSBfIY12SaB+SF16N6AQL1eKeD7bD+cTpcf1s.rOeet8R3ycVBet6R3y8VBet+R3yCVBe9qE5i8m5OI0nhx4lfffcy9XhiytRBvxxnonuQHC6Gz
    

Log in to reply
 

2
Online

603
Users

2.4k
Topics

18.5k
Posts