Re: taking max out (for a walk)

On Wed, 11 Oct 2006, Who? wrote:

> has anyone ever tryed to export somehow a max patch into a pic or any
> other microcontroler for audio procesing without the need for a
> computer?

this thread’s come around before. the general consensus is that it would
be very difficult to do well, and you’d have to really think of the scope
of the project beforehand.

for example, audio processing on a PIC (or any microcontoller without a
fast DSP attached) isn’t the easiest thing in the world to begin with.
either way, you’d need to get all your MSP routines ported to fixed point,
and then you’d have to figure out how to build a signal chain. an example
of some of the fun to be had can be found here:

http://www.piclist.com/techref/microchip/math/filter.htm

but this isn’t even addressing max yet, which would involve building a
function for every single max object you’d need to use, as well as an
overall scheduler and messaging system. to fit this all on a pic would be
a bit tricky, so you’d probably want to build some kind of max->chip
parser which would make some sense of the max patcher format and build a
chunk of microcontroller code out of it.

either way you’re in for a good time. if you’re serious about this, i’d
recommend checking out the arduino project (since everything is open
source) and start from there:

http://www.arduino.cc/en/Main/HomePage

the folks over in pd-land have made some serious strides in getting
puredata running on linux-compatible embedded systems, e.g. pdas and
ipods:

http://gige.xdv.org/pda/index.php

http://ipodlinux.org/Pdpod

worth checking out if you really don’t want to schlepp a computer. of
course, you can get windows boxes pretty small these days:

http://www.mini-itx.com/

itx boards will run the mmj runtime just fine, last i checked.

best.

/luke

Oct 12, 2006 at 3:20pm #85902