Virtual Color Fader for Max/MSP

This Max/MSP patch reads in a serial string like this:

Rnnn
Gnnn
Bnnn

Where nnn is an ASCII-formatted decimal number from 0 to 255. It then converts the values into the RGB colod for the patch’s background.

An Arduino program to send the appropriate data follows.

To use the patch, copy the text and paste it into a new max patch window.

Thanks to David Mellis and Jamie Allen for the collaboration. These patches were written for a one-day Arduino workshop at NIME 07 hosted by the three of us. The Arduino program comes from the Arduino example files, by David Mellis.

Technorati Tags: , ,


Continue reading “Virtual Color Fader for Max/MSP”

Analog to Frequency for Max/MSP

This Max/MSP patch takes a serial string in and converts it to a numeric value, then plays a frequency using the value.

To use the patch, copy the text and paste it into a new max patch window.

Thanks to David Mellis and Jamie Allen for the collaboration. These patches were written for a one-day Arduino workshop at NIME 07 hosted by the three of us. The Arduino program comes from the Arduino example files, by David Mellis.

Technorati Tags: ,


Continue reading “Analog to Frequency for Max/MSP”

Physical Pixel Controller

This Max/MSP patch turns on or off an LED attached to an Arduino. Max and the Arduino communicate serially.

To use the patch, copy the text and paste it into a new max patch window.

Thanks to David Mellis and Jamie Allen for the collaboration. These patches were written for a one-day Arduino workshop at NIME 07 hosted by the three of us. The Arduino program comes from the Arduino example files, by David Mellis.

Technorati Tags: , ,


Continue reading “Physical Pixel Controller”

LED Fader in Max/MSP

This Max/MSP patch sends data out the serial port. The corresponding Arduino program reads the data from Max serially and uses it to set the brightness of an LED on digital pin 9.

To use the patch, copy the text and paste it into a new max patch window.

Thanks to David Mellis and Jamie Allen for the collaboration. These patches were written for a one-day Arduino workshop at NIME 07 hosted by the three of us. The Arduino program comes from the Arduino example files, by David Mellis.

Technorati Tags: , ,


Continue reading “LED Fader in Max/MSP”

Ascii to Number in Max/MSP

This patch receives an ASCII-encoded decimal string that ends with a linefeed and carriage return in the serial port, and converts it to a number. A Wiring/Arduino program to send data to it follows. It’s based on an example by Jamie Allen.

To use the patch, copy the text and paste it into a new max patch window.

Thanks to David Mellis and Jamie Allen for the collaboration. These patches were written for a one-day Arduino workshop at NIME 07 hosted by the three of us. The Arduino program comes from the Arduino example files, by David Mellis.

Continue reading “Ascii to Number in Max/MSP”

Serial Graphing application for Max/MSP

This Max patch takes in serial data and graphs it. It’s useful for seeing the changes in an analog sensor. An Arduino code sample that works with it follows the patch.

To use the patch, copy the text and paste it into a new max patch window.

Thanks to David Mellis and Jamie Allen for the collaboration. These patches were written for a one-day Arduino workshop at NIME 07 hosted by the three of us. The Arduino program comes from the Arduino example files, by David Mellis.

Technorati Tags:


Continue reading “Serial Graphing application for Max/MSP”

PDuino

Hans Steiner, God of PD/USB and a darn nice guy, has released PDuino. In his words:

“Here’s the first test release of Pduino, a Pd firmware for Arduinoand a matching Pd object, . This allows you get data from the digital and analog inputs, and send data to the PWM and digital outputs. It also allows you to change the digital pins from input, output, or PWM. And you can choose how many analog inputs and turn on/off digital input.

“Keep in mind its a test release, the only thing I am not sure about right now is digitalInput, everything else seems to work fine. In the future, I’d like to figure out how to add the pulseIn feature.

“This firmware would work well with Processing, Max/MSP, Flash, whatever. Then the Arduino becomes a dead simple, cheap sensor box for the newbies, but still open for playing later.”