Driving a peek counter with non-integer step-size
Hello! I've made a delay/looper patch that allows the user to change the step-size used by the counter object that drives peek and poke operations such that alters the speed of playback as in the example found in the Gen tutorials. Poke's @interp settings ensures everything sounds good no matter the setting, however driving peek with non-integer values produces some really nasty aliasing.
Is there any way to perform interpolation when using non-integer values with counter that's driving peek? @interp is suspiciously absent from its attribute list.
Any suggestions greatly appreciated, thanks!
as i know reading buffer index using peek is always must be int. you cant read 0.7 index as it must be floored truncated to 0 . use lookup, sample, or wave operators, they allow fractional indices and perform interpolation (usually linear by default)
oh I just checked and there is @interp argument for peek 0 = 'none'
1 = 'spline6'
2 = 'step'
3 = 'cosine'
4 = 'cubic'
5 = 'fastcubic'
6 = 'linear'
7 = 'spline'