Wavetables, buffers, cycle, and the DSP chain
Hello,
I created a simple wavetable-generator for sine functions with some parameters like power, amplitude, number of cycles, and cycle frequency and phase. It all works fine and there's some interesting basic waveforms there. The problem is that when I peek~ a list of new values into the buffer~, the cycle~ won't play those new values until I stop and restart the DSP. Is this unavoidable? Is there a workaround that avoids such a large discontinuity?
I thought about using multiple buffers, and maybe that's the ticket, but I wanted to put it out there first.
Thanks--
--CJ
---------------------------------
not sure, but try using the "set buffer" message to the cycle each time the waveform has changed...
there's a similar problem with groove~, and doing this fixes it, i'd try,- but i'm a long way from my Max computer at the time..
Fantastic -- that's way better than turning the DSP off and on. Much smoother.
I shoulda tried that... doh!
Thanks--
--CJ