the number of channels to output. If 1
, a monophonic
signal is returned and the pan
argument is ignored.
a control- or audio-rate trigger to start a new grain. For audio-rate, timing is sample frame accurate.
grain duration in seconds
buffer holding a mono audio signal portions of which are read as grains
playback speed of the grain, where 1.0
is original
rate, 0.5
is half speed etc.
grain start position, where 0
is beginning and 1
is
the end of the input buffer
interpolation type when using pitch-shifting via
speed
. 1
for no interpolation (nearest sample), 2
for linear interpolation, and 4
for cubic
interpolation.
panning position when numChannels
is greater than
one. Equivalent to the pan position of Pan2
(for
stereo output) or PanAz
(for more than two channels)
identifier of a buffer containing a signal to use for
the grain envelope. The default value of -1
means that
a built-in Hann envelope is used.
maximum number of overlapping grains that can be used at a given time. This value is set at the UGens init time and cannot be modified later. Lower value mean that less memory is used.
A granular synthesis UGen taking sound stored in a buffer. Another buffer can be used to provide an amplitude envelope. The input sound buffer must be monophonic, but output may be multi-channel, using a panorama control.
All arguments except
numChannels
andmaxGrain
are polled at grain creation (trigger) time.PanAz
PlayBuf
TGrains