The gainSlider->setRange works as expected, but the delaySlider seems to ātop outā at 1. The slider will not travel past the 1 mark in the VST GUI. I had a look at the definition of the setRange function, but found no clue. Any help is greatly appreciated.
VST parameters only have a range of 0 to 1 - if you want to display a different range on your slider, youāll need to scale the numbers on the way in and out of the plugin.
OK I guess Iām having a bit of trouble understanding what the āinā and āoutā of the plugin means for the parameters.
I would guess that the getParameter function is the āinputā of the parameter to my plugin, and the setParameter is where I send it back to the host?
If thatās the case, then do I scale the parameter to my liking at the getParameter and reverse scale it at setParameter? Or do I have this all wrong?
Again, forgive my inexperience. Iām trying to get this working, but havenāt gotten it quite right yet.
Er⦠no, you implement those methods in your class, so getParameter is called by the host when it wants to get one of your parameters, and vice-versa.