Purists will cringe, but has anyone tried, or can suggest the Arduino code to look at, to invert the volume control?
i.e. Hand proximity away from the volume antenna, silence, move hand towards the antenna, the volume increases.
Open Theremin V3 - invert volume function?
Posted: 5/3/2021 6:40:09 PM
I didn't test it. I rather like the traditionnal volume control. But it should be easily done by something like this: In "application.cpp" line 290, replace "tmpVolume = vol_v >> 4;" by "tmpVolume = 255 - (vol_v >> 4);"
Many thanks, I'll try it. Being a keyboard player, it seems more intuitive to me for it to operate like that, so I'll see if it's worthwhile or not.
Posted: 5/20/2021 8:00:00 AM
Hi, Edited to correct an error
To revert Volume Potentiometer action, it is quite the same principle:
application.cpp line 173:
Replace "volumePotValue = analogRead(VOLUME_POT);" by "volumePotValue = 1024 - analogRead(VOLUME_POT);"
by "volumePotValue = 1023 - analogRead(VOLUME_POT);"
You must be logged in to post a reply. Please log in or register for a new account.