|
Post by mbagshawe on Oct 29, 2019 18:47:47 GMT
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?
Best Marcus
|
|
|
Post by loopier on Oct 29, 2019 20:42:57 GMT
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
|
|
|
Post by thetechnobear on Oct 30, 2019 14:54:50 GMT
Another thing to look for is what FPU support is there on microcontroller.
And be careful about the code generated by gen~ , it’s not going to be optimized for low powered mpu - so might need adapting/tweaking.
But it’s a good idea and one I’ve been considering, in conjunction with the Bela platform.
|
|
|
Post by mbagshawe on Nov 1, 2019 20:49:26 GMT
Thanks for the help guys!
I think we're going to try using a ARM Cortex M4 processor. Will post any updates on here.
|
|
|
Post by thetechnobear on Nov 2, 2019 11:35:24 GMT
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!)
|
|
|
Post by mbagshawe on Nov 3, 2019 15:01:00 GMT
Thanks! I'll look into the teensy as well. 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? Thanks a lot for the help
|
|
|
Post by rodney on Nov 3, 2019 22:51:28 GMT
STM32 is another MCU sometimes used in music and audio projects.
|
|