Forums > MaxMSP

Getting max patch audio signal to speakers through arduino

Apr 20 2013 | 7:50 am

I figured this would be pretty straightforward, but I actually haven’t found consensus on a good way forward with this.
Simply put: my goal is to have max patches output audio signal through Arduino’s to speakers. Is the easiest thing here to pick (or build) an audio shield for arduino? Maxuino uses firmata, is there a way to send signal through PWM? I’m guessing this is a very simple question. I’m pretty sure I just need to learn about OSC and that’s the way forward…


Apr 20 2013 | 10:09 am

Both the 8-bit resolution and the ~490 Hz frequency of the Arduino Uno (and predecessors) PWM outputs make for very poor quality audio output. If you really want to do audio output of reasonable sound quality, have a look at the recently released Arduino Due – it has 2 channels of reasonable (12-bit) quality D-to-A. I can’t find any specs on the samplig freq of the DAC pins, however.

Apr 20 2013 | 11:04 am

It might also help to look at ladyada’s Drawduino circuit and code. You should find it on the Adafruit site. I also seem to remember littlescale doing 8-bit audio on Arduino. Neither of these involve Max afaik though. Sorry not to add anything as specific as Stephen’s remarks.


Viewing 3 posts - 1 through 3 (of 3 total)

Forums > MaxMSP