Adding new effects?

Just curious. With use_synth and with_synth, you can use a path to a supercollider file.

Is the same thing with use_fx and with_fx? If not, can we put it on the wishlist for tau? Or even sonic pi?

Thanks!

Do you mean by using load_synthdef/s? synths and FX are both just Supercollider SynthDefs, so both can be loaded with those in Sonic Pi.
I am confident that loading and using custom synths and FX will continue to be a feature in whatever form Sonic Pi takes in the future :slight_smile:

I was not previously aware of that. That’s cool.

So, if you did load a synthdef for an effect, how would you invoke it to wrap it around a block of code, so the sounds produced therein run through this effect? I scanned the tutorials, but I couldn’t see any examples of how to do this. With a proper sound-generating synth, you can simply say “with_synth” or “use_synth.” What’s the procedure with a loaded effect?

This is not urgent, btw. I’m just curious, and thinking down the road to when I’m ready to tackle supercollider.

The document you will want to see is:

In short though, as long as you’ve enabled external FX in Sonic Pi, once you have loaded them with load_synthdef/s, you can use them through with_fx 'name_of_fx' do ... end

Awesome! Thanks so much for pointing me to this resource.