RedAGrain:
Filter:
redGrain/Classes (extension) | Red > redGrain

RedAGrain
ExtensionExtension

granular synthesis with audiorate control

Description

Server side granulator that is controlled with audiorate busses. Based on TGrains.

Class Methods

.new

Create granulator (stereo only for now)

Arguments:

server

If nil then the default server will be used.

Instance Methods

.start

starts the granulator with fade in of attackTime seconds

.stop

stops the granulator with fade out of releaseTime seconds

.free

stop and free internal busses

.synth

the main granulator

.trigBus

.ar control bus for triggering grains

.bufBus

.ar control bus for selecting which buffer to get the grain source audio from

.rateBus

.ar control bus for grain playback rate

.posBus

.ar control bus for position in source buffer (in percent. 1.0= end of buffer)

.durBus

.ar control bus for grain duration (in seconds)

.panBus

.ar control bus for grain panning (-1 to 1)

.ampBus

.ar control bus for grain amplitude

Examples