MMMAudio now compiles to SuperCollider

Hi all,

I’ve been gone for a while. As some of you may know, @tedmoore and I have been working on a Python/Mojo environment for audio creative coding called MMMAudio. The latest version now compiles to SuperCollider just like Faust does. This means you can build modern DSP in MMMAudio and use it in SC. (It also compiles to VST and VCV Rack).

Installation of MMMAudio is now very easy.

The exporter is here. If the code is written correctly, you can build and install the SC plugins running 2 lines of code as seen here.

Why would you do this? Single-sample feedback and oversampling are native and very clear in MMMAudio and it is 64 bit, so you can create great sounding fx and use them in SC.

If you want a place to start, compile and install the ManyOscillators example in Exporters/SCExporter/SCExporter.py

The Python code from a project is not included in a plugin, but the Qt graphics are transformed to SC .kr inputs, so a simple GUI can turn into a UGen fairly easily.

You can also export a single MMMAudio struct directly to a UGen, so any MMMAudio UGen can become an SC UGen.

This is definitely beta, but I’d love any feedback on it. Yes, the exporter was vibe-coded. The autogenerated help files are more helpful than I would have thought.

I hope all is well,

Sam

7 Likes