This help file is based on a file found in the SuperDirt GitHub repository. Report to the original version to get more information or add your improved workflow to this page to help other users. Adding new effects for Tidal and SuperDirt is a three-step process:
- add the desired parameters to Tidal
- add a module definition to SuperDirt, so it can be found when the parameter is not
- add the
SynthDefto SuperDirt, so it can be played
We are going to add a weird spectral delay to SuperDirt. This assumes that you have an instance of SuperDirt accessible via
~dirt in the SuperCollider interactive editor.
We are going to add two parameters:
tsdelay (float, delay time) and
xsdelay (int, delay structure). Run the following Tidal Code (as if it was a tidal pattern):
If you want this the above be automatically available every time you start tidal, then add it to the definitions in your BootTidal.hs boot file.
Add a module for SuperDirt. This adds a responder for the parameters.
You can previsualise the effect order using this command in SuperCollider:
You can reorder the effects if you need to. For instance, if you want the low pass filter to come after the delay, run the following line:
The last step is to declare our spectral delay itself, that will be declared in a classic SuperCollider SynthDef:
Now you should be able to write the following in Tidal: