pot values

Software questions and issues with the FV-1

Moderator: frank

Post Reply
jovesdies
Posts: 33
Joined: Wed Feb 25, 2009 3:55 am

pot values

Post by jovesdies »

Is it possible to give a pot a similar way to move ?

Image
Sweetalk
Posts: 141
Joined: Thu Oct 15, 2009 5:13 am

Post by Sweetalk »

I think that you have to do a pot skip routine for the constant parts of the taper you want. Then with sof instructions you can reach the center linear taper.
slacker
Posts: 116
Joined: Tue Feb 01, 2011 1:13 pm

Post by slacker »

You should be able to do it using some of the tricks from here http://www.spinsemi.com/knowledge_base/ ... aring_pots

First shift the range down by 0.5 so it goes from -0.5 to + 0.5. Then multiple it by 4 which would give a range of -2 to +2 except that the range is limited to -1 and +1. Therefore the first quarter of the pot is less than -1 so is limited to - 1, and the upper quarter more than +1 so is limited to +1. This gives you the shape you want. Then divide it by 2 and add 0.5 to get the range back to 0 to 1.

Something like this

Code: Select all

rdax pot0
sof 1, -0.5 ;deduct 0.5
sof -2,0 ;multiply by -2
sof -2,0 ;multiply by - 2 (multiply by 4 in total)
sof 0.5, 0.5 ; divide by 2 and add 0.5
jovesdies
Posts: 33
Joined: Wed Feb 25, 2009 3:55 am

Post by jovesdies »

YESSSS ! Thanks a LOT !!!!
Post Reply