Pure Data (or just “Pd”) is an open source visual programming language for multimedia. Pure Data is developed by Miller Puckette since 1996 and you can find it on his official website along with the official documentation and other related resources.
I wanted to have the possibility to run PD patches on microcontrollers. In order to achieve this I am using the hvcc hcompiler that can translate a pd file to c and c++ code.
To test the functionality, I was using this minimal PD patch which creates a 220 hz sine tone and outputs it to the left channel of the DAC:
A detailed description on how you can create and run your own patches can be found in the Wiki of the AudioTools project.
Of cause you need to use the latest version of the AudioTools library!
3 Comments
Matt · 21. July 2024 at 11:21
thanks, unfortunately way beyond my ability to adapt the VST code for this situation
Matt · 20. July 2024 at 15:27
This is awesome!!! much appreciated!!! is it possible to create midi in for patched compiled in heavy? I’m using esp32
pschatzmann · 20. July 2024 at 16:00
Just consult the related documentation: https://github.com/enzienaudio/hvcc/blob/master/docs/09.midi.md