[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] Playbuf Done Actions / Triggering Samples and PlayBufs




Am 11.03.2019 um 01:48 schrieb daniel-mayer@xxxxxxxx:

That's sequencing and can most easily be done with patterns, there's no need for a trigger logic inside a SynthDef or from server back to language.


Well, no statement without exception ...

First, for accuracy, OffsetOut should be taken instead of Out here:

Out.ar(out, PlayBuf.ar(1, buf, BufRateScale.kr(buf) * rate))


If sample accuracy is a topic in your use case that would indeed be a reason to think about a trigger solution (because sample accuracy in realtime cannot be achieved with patterns, even with OffsetOut), but for most application cases this is far away from a practical concern.

Regards

Daniel

-----------------------------
http://daniel-mayer.at
-----------------------------