and here is a basic model for signal input. the perfect building block for wavetablescanning and stuff.
i just used it to scan though an overtone series at oscillatort phase speed, that was really fun.
if anyone can help to further optimize it CPU-wise feel free to do so. (this is not a reqeust, this is an order.)
a buffer/cycle based version of it would save some CPU, but in my max4, where cycle~ is limited to 512 samples, it is getting a bit inaccurate for 20 or more channels and would create 20 different buffers in RAM, so i´ve chosen to suggest this simpler code version.
-110