AllBuf is a convenience class which produces all manners of SynthDefs for playing back buffers.
It makes sort of smart decisions about how to create patches based on your input parameters and it contains a method for factory producing all variations of SynthDefs for arbitrary input (number of channels in the buffer) and output channels.
It automatically creates variations of the SynthDefs containing pitch envelopes, low pass filter and filter envelopes which can all be easily used in patterns etc.
The idea is to create all possible SynthDefs using this class in one line of code:
Create an instance of AllBuf
maxinchans |
Maximum number of buffer channels. This will create variations of synths with number of buffer channels up to and including this number |
outchans |
Number of output channels |
verbose |
Boolean. To post or not the info of the synth creation process. |
An AllBuf
Get the synthdef name for a certain synth
returns: Symbol
inchans |
Number of buffer channels |
filterenv |
Add filter envelope to synth |
pitchenv |
Add pitch envelope to synth |