Page 1 of 1

Adjusting pot range

Posted: Sat Dec 29, 2018 7:22 am
by tjm215
I need a pot to be able to sweep through values from -1.5 to 1, is this possible to do through some SOF commands? I cant seem to get it to work when I do that. any help would be appreciated! thanks

Re: Adjusting pot range

Posted: Sat Dec 29, 2018 3:23 pm
by frank
I would multiply the POT by 0.625
Subtract 0.375 so it ranges -0.375 to 0.25
Multiply by 4 to make it -1.5 to 1.0
But make sure that the registers and commands you use can handle numbers larger than +/-1.0
You may need to make it range -0.75 to 0.5 to stay in range and handle the factor of 2 elsewhere in the code