than vary the pitch with the pot till to the next value like fine pitch.Is it possible?wldr RMP0,16384,4096
wldr RMP1,-8192,4096
after fixed semitone fine tuning with pot value
Moderator: frank
after fixed semitone fine tuning with pot value
I try to use pot value like fine tuning after the fixed semitones.Like using program changes up or down to a fixed value
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.
wrax rmp0_rate,0
Which will write the value in the accumulator to the rate register for ramp 0.
Frank Thomson
Experimental Noize
Experimental Noize
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
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
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
Experimental Noize