Specification of the task:
- Play one buffer
- Start at a random position in the buffer
- Playback at a randomly specified constant rate
- Loop when reaching end of buffer
- Reset the start position and rate of playback at any moment
- The buffer receives input from a live source in real time
- It has a duration size […]
/* (IZ 2007-10-27) {
Play a selected buffer with single - shot playbuf SynthDef, triggering it multiple times at random interval and random rates, random starting point and random duration, within controllable range parameters.
b = Buffer.read(Server.local, "./sounds/a11wlk01.wav");
(
a = SynthDef("playbuf_segment", { |
out = 0,
bufnum = 0,
startPos = 0,
duration = 1,
rate = 1,
amp […]