Server side granulator that is controlled with audiorate busses. Based on TGrains.
Create granulator (stereo only for now)
server |
If |
starts the granulator with fade in of attackTime seconds
stops the granulator with fade out of releaseTime seconds
stop and free internal busses
the main granulator
.ar control bus for triggering grains
.ar control bus for selecting which buffer to get the grain source audio from
.ar control bus for grain playback rate
.ar control bus for position in source buffer (in percent. 1.0= end of buffer)
.ar control bus for grain duration (in seconds)
.ar control bus for grain panning (-1 to 1)
.ar control bus for grain amplitude