after fixed semitone fine tuning with pot value

Software questions and issues with the FV-1

Moderator: frank

Post Reply
djmalan
Posts: 36
Joined: Fri Mar 06, 2009 8:22 am

after fixed semitone fine tuning with pot value

Post by djmalan »

I try to use pot value like fine tuning after the fixed semitones.Like using program changes up or down to a fixed value
wldr RMP0,16384,4096
wldr RMP1,-8192,4096
than vary the pitch with the pot till to the next value like fine pitch.Is it possible?
frank
Posts: 1244
Joined: Wed Oct 19, 2005 12:26 pm
Contact:

Post by frank »

If I understand your question correctly, yes you can write to the control registers for a ramp lfo within a program but I would not use wldr for it. Use wldr at the top of the program to initialize the ramp then use something like:

wrax rmp0_rate,0

Which will write the value in the accumulator to the rate register for ramp 0.
Frank Thomson
Experimental Noize
djmalan
Posts: 36
Joined: Fri Mar 06, 2009 8:22 am

Post by djmalan »

I want to say wldr at the beginning of program like this;

wldr RMP0,16384,4096 ;this is for 12 semitone up
wldr RMP1,-8192,4096 ; this is for 12 semitone down

than at the end

rdax pot0,1.0
sof value,-value ;control ranges a little (fine tuning)(this is for between 12 and 13 semitone up may be like pitch bender joystick on the music keyboards.
rdfx potfil,0.02
wrax potfil,1.0
wrax rmp1_rate,0 ;I think here is not true but I don't know the solution

rdax pot1,1.0
sof value,-value ;control ranges a little (fine tuning)(this is for between 12 and 13 semitone down may be like pitch bender joystick on the music keyboards.
rdfx potfil,0.02
wrax potfil,1.0
wrax rmp0_rate,0 ;I think here is not true but I don't know the solution
frank
Posts: 1244
Joined: Wed Oct 19, 2005 12:26 pm
Contact:

Post by frank »

That should be OK, just remember that what you write to the rmp1_rate or rmp0_rate will overwrite the value written using the wldr at the top so you must write the full value, not an offset.
Frank Thomson
Experimental Noize
Post Reply