Here's the knowledge base code:
Code: Select all
skp run,1 ;only establish the LFO on the first sample pass
wldr rmp0,0,4096 ;set rmp0 to its widest range
cho rdal,rmp0 ;load in the current RMP0 pointer
rdax mpos,-1 ;subtract the desired position
wrax rmp0_rate,0 ;write the position error to the ramp rate register
If I wanted to use a Pot for mpos, do I have to scale it down by 4096/32768? Or does Pot 0.0 to 1.0 magically map somehow to 0 to 4095?
Thx!