Playback for a stream of audio which can be cut-up, with offsetting relative to the last beat marked by the clock. The stream can be any bus on the Server, so might be a file streamed off disk, a current audio input or some synthesised data.
Each grain may have associated parameters for playback speed, enveloping and dutycycle (ratio of duration to inter-onset-interval).
Note that CutStream2 uses In.ar rather than InFeedback.ar, for reaction speed, so execution order is important. you cannot cut-up a stream created later in the execution order. Change the SynthDefs in the class file to InFeedback if you want no execution order worries, at the expense of an audio block's delay (usually 64 samples).
inbus |
Bus on the Server to be cut-up. |
bbcutbuf |
A Server side buffer must exist for the use of the UGen- by default one is allocated for you. |
offset |
value to offset from the last recorded beat of the clock. 0 keeps this reference point, 2 would be a reference start time of three beats ago (last recorded, then back another 2). The default is 1. However, the meaning of this parameter changes when setoffset is applied by certain cut procedures; here it determines the region of offsetting in beats. |
pbsfunc |
Manipulate playback speed, would usually be 1.0. If greater than 1.0, the playback head can overtake the record head and behaviour may not be what you expect! |
dutycycle |
Ratio of duration to inter-onset-interval (IOI). 0.5 would mean that the duration of grains is only half the length between cut start times. |
atkprop |
Enveloping parameter for attack speed. Rated as a proportion of the overall envelope (0.0 to 1.0) |
relprop |
Enveloping parameter for release speed. Rated as a proportion of the overall envelope (0.0 to 1.0) |
curve |
Envelope curve |