Skip to content

Reference library > Buffer: Granulation > Granulator

Granulator

Granulator(buffer=None, clock=0, pos=0, duration=0.1, amplitude=1.0, pan=0.0, rate=1.0, max_grains=2048, wrap=false)

Granulator. Generates a grain from the given buffer each time a trigger is received on the clock input. Each new grain uses the given duration, amplitude, pan and rate values presented at each input at the moment the grain is created. The input buffer can be mono or stereo. If wrap is true, grain playback can wrap around the end/start of the buffer.


Last update: 2024-07-22
Created: 2023-12-03