Hello Blue Cat Audio-
I am wondering could you give me the code to implement an On/Off switch please, I can not find an example anywhere?
Thanks.
How to put in an On/Off switch in PnS
-
- KVRist
- 40 posts since 6 May, 2021
You do not have the required permissions to view the files attached to this post.
-
Blue Cat Audio Blue Cat Audio https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=39981
- KVRAF
- 6345 posts since 8 Sep, 2004 from Paris (France)
What do you mean? It looks like you already have an on/off switch here (you simply need to declare the parameter with 2 steps so that PnS generates an on/off switch for you)
-
- KVRist
- Topic Starter
- 40 posts since 6 May, 2021
Thanks for getting back to me - I did not understand how to 'declare a parameter'?
-
Blue Cat Audio Blue Cat Audio https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=39981
- KVRAF
- 6345 posts since 8 Sep, 2004 from Paris (France)
Your inputParameters array already contains 2 parameters so you can access the one controlled by the switch with "inputParameters[1]"