Me and a friend are looking at creating a DIY module using the exported C++ code from the gen environment inside of MAX MSP. I was wondering if anyone here has any advice on creating DSP Arduino ae modular modules?
Don’t take my word too seriously, but if you want to make audio rate patches I think it will fall short because Arduino’s clock may not be fast enough. I’ve heard that ARM Cortex M microprocessors are much better for this since they have a faster clock, but programming them is much lower level than arduino. If it’s for control rate I reckon arduino would work just fine.
On the other hand, there’s Pduino that works with Pd patches and I know of people that have used it without any problems.
You can try Teensy, which is great for audio tinkering and might work better than Arduino.
But, again, I’m not very sure what I’m talking about, just my two cents. I am positive that Arm cortex is best, but not sure if arduino would work ok. Please let us know about your findings
perhaps a teensy 3.6? or even you want more a teensy 4.0?
both are 3.3v, so you'll need to scale voltages... also, given they pull more power, you might need to be careful not to introduce noise on the power line (an issue I had with the Bela , see my previous posts, but that draws a lot more power )
another option perhaps to investigate is the ESP32 (I have sitting Pycom SiPy my desk... and still not tried!)
As I'm very new to all this, could you possibly explain how you go about programming the Teensy or similar micro-controllers? Would it be possible to connect the teensy to an Arduino and then use the tweaked gen~ code in the Arduino IDE? If not what would be the easiest way to implement gen~ code into a module that could process AE modular audio and CV?