Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Max/MSP with arduino - Sequencer drives LEDs.

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
1,579
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Mar 31, 2009

My first arduino sketch.. A step sequencer I wrote in Max/MSP is used for this. The max patch sends an arduino serial data through the usb port, which lights up a specific LED pair corresponding to which drum was triggered. This all happens in real time, and is freely modifiable, so its ok for jamming with the sequencer.

This would be a bit better if i had more LEDs, but i only have 8 available right now. In theory, you could hook up massive LED arrays to this, to drive entire screens from the program.

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (theman362)

  • Excellent work! Am trying to do something similar myself as soon as I figure out the delays!

  • what're you having problems with? maybe i can offer a little advice if you'd like

  • Actually it's now the communication between Arduino and Max. All I need to do is get Arduino to send Bangs to Jitter to get video's to start playing. I am having a lot of trouble getting the two programs communicating.

    In a nutshell I want Arduino to tell Jitter to play video's once a digital switch has been pressed a certain number of times. Any help would be really appreciated

  • if your arduino is not sending anything else over the serial port you can just get it to send an arbitrary character (lets say 'x') over Serial.print()

    on the max side, just hook up a bang to the outlet of [serial], whenever it receives serial data it'll trigger the bang

    you'll need to set up a counter and 'if, then' query on arduino for this button pushing by the sounds of it. each time button pressed, counter +1. is counter == number?

  • if its more complex than this and youre having problems still, let me know

  • Do you have to upload a scetch first to the arduinoboard to have this communication between max msp and the bord?

    I bought my first arduino today. =)

  • yes, the Serial.begin(***BAUD RATE***) function will allow serial communication back and forth.

    you put it in the setup loop. then you can send serial data from arduino using serial.print(), or read serial data in a sketch using Serial.read(). the function Serial.available() checks to see if there is any serial data to use, so its handy to do an if loop querying if Serial.available() == 1, then do your serial stuff :)

    of course, the [serial] object in max handles it on the max/msp side.

see all

All Comments (15)

Sign In or Sign Up now to post a comment!
  • can you send the patch for me ?i want to research it

  • Thanks a million I will get back to you if I run into any problems. So it is just using the Serial.print() in Arduino that will be read in Max by the serial object ya?

    I'm relatively new to Arduino so you'll have to be patient with me I'm sorry!

    Is it just Serial object or will I have to state the port 9600 also in max?

  • sounds alot like echoplex, very nice!!!

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more