BufGrainB:
Filter:
Classes (extension) | Libraries > JoshUGens | UGens > GranularSynthesis

BufGrainB : JoshGrain : UGen : AbstractFunction : Object
ExtensionExtension

Granular synthesis with sound sampled in a buffer and user supplied envelope

Description

Class Methods

BufGrainB.ar(trigger: 0, dur: 1, sndbuf, rate: 1, pos: 0, envbuf, interp: 2, mul: 1, add: 0)

Arguments:

trigger

A kr or ar trigger to start a new grain. If ar, grains after the start of the synth are sample accurate. The following args are polled at grain creation time.

dur

Size of the grain.

sndbuf

The buffer holding an audio signal.

rate

The playback rate of the sampled sound.

pos

The playback position for the grain to start with (0 is beginning, 1 is end of file).

envbuf

A buffer with a stored signal to be used for the envelope of the grain.

interp

The kind of interpolation for the sampled sound in the grain (1 - none, 2 - linear, 4 - cubic).

mul
add

Inherited class methods

Instance Methods

Inherited instance methods

Examples