Mescaline currently has a very simple send effect architecture: there are two send/return buses that can be assigned a SuperCollider SynthDef in the configuration file.
The SynthDefs should adhere to the following conventions:
- The SynthDef should read from the (stereo) bus passed in the
sendBusparameter, - The processed signal should be mixed to the first two audio hardware output channels,
- The optional effect parameter
paramcan be used to change the effect’s behavior; it can be modified from Mescaline’s pattern language.
The SynthDef should be placed in the synthdefs subdirectory within Mescaline’s user data directory and the file name should be the SynthDef name with the extension .scsyndef added.
Here is a small example how to write effects in the SuperCollider language: effects.scd.