ok, so I'm making a delay object that uses wave~ so that I can manipulate the delayed sound in wierd ways by fiddling with the phasor signal. I am using poke~ to write to a buffer and then wave~ to play what is in the buffer shortly after it is recorded. This works well for an analog modeled delay type of thing; the pitch changes when delay time is changed and such.
What im having trouble with is that once I get to speeds over 1 hz I get a lot of undersampling distortion. I'm pretty sure that this happens because i have to multiply the phasor output by large numbers to get good enough values to record with poke~ and so some sample indexes are skipped. This is more apparent at higher rates because some of the sample values aren't rewritten and just stay there until the buffer is cleared.
If anyone could take a look or just tell me how to get smoother ramp values (at an adjustable rate, count and line are out of the question) I would greatly appreciate it.
running max 5 on windows xp
this is my patch. The issue is highlighted