Accessing Delay memory with an LFO manually
Posted: Tue Jun 14, 2011 8:48 am
Hello all,
Here is my situation. I have two delay lines dly1 and dly2 and lets say that I want to access both through the sinus LFO except that in dly2 i want the sinus with a phase shift (a phase inversion to simplify). The question is: how to I access the dly2 properly in the delay memory. I thought about using the CHO RDAL, SIN0 instruction to read the sinus value, multiply it by -1 and then add the delay offset in order to point to dly2. Of course that I'll have to do the interpolation by hand as well, but let us not mention here to keep it clear. My idea stumbled on the problem that the K constant SOF instruction to add the dly2 offset doesn't hav the same precision that the addr_ptr.
Hmmm, just thought about trying with the multiplier of SOF instead of the K constant. I shall try it out.
Thanks...
Here is my situation. I have two delay lines dly1 and dly2 and lets say that I want to access both through the sinus LFO except that in dly2 i want the sinus with a phase shift (a phase inversion to simplify). The question is: how to I access the dly2 properly in the delay memory. I thought about using the CHO RDAL, SIN0 instruction to read the sinus value, multiply it by -1 and then add the delay offset in order to point to dly2. Of course that I'll have to do the interpolation by hand as well, but let us not mention here to keep it clear. My idea stumbled on the problem that the K constant SOF instruction to add the dly2 offset doesn't hav the same precision that the addr_ptr.
Hmmm, just thought about trying with the multiplier of SOF instead of the K constant. I shall try it out.
Thanks...