Max/MSP with arduino - Sequencer drives LEDs.
Loading...
1,579
Loading...
Uploader Comments (theman362)
see all
All Comments (15)
-
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...
Excellent work! Am trying to do something similar myself as soon as I figure out the delays!
FatFiLLL 2 years ago
what're you having problems with? maybe i can offer a little advice if you'd like
theman362 2 years ago
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
FatFiLLL 1 year ago
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?
theman362 1 year ago
if its more complex than this and youre having problems still, let me know
theman362 1 year ago
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. =)
qualmos 2 years ago
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.
theman362 2 years ago