Buffer sequencer

Hi -
I’d like to use a Buffer as a sample-by-sample sequencer in a SynthDef. Are there any examples of this in the documentation? Is the best approach to use a Wavetable? I’m still a bit unsure of how to incrementally step through a buffer, if anyone could advise.

Thanks!

Probably Dbufrd is the easiest to wrap your head around at first: e.g., Demand.kr(trig, 0, Dbufrd(bufnum, Dseries(0, 1, inf), loop: 1))

There are other ways (perhaps a PulseCount → Index), but with Demand units, you’re likely to have more intuitive control over the index.

hjh

2 Likes