Hi!
I’m a begginer in Touchdesigner, so I’m having problems to do a simply thing. I want to send data to the serial in order to recive this data with my Arduino.
I have an Audio Analysis program done with Touch Designer, that look like this: (It is done from a Matthew Ragan video from Youtube)
image.ibb.co/jvo9yQ/Captura_de_ … _50_52.png
image.ibb.co/idQpyQ/Captura_de_ … _50_40.png
The thing is that I want to send values or something to the serial, in order to activate some leds with Arduino, through some conditions. I know the program is so simply to do, and I read a lot about Send Data to the Serial, but I dont know how to send the values that are shown in the different LOW, MID and HIGH audio bands that I have in my Audio Analysis in order to recieve the reference to this values in Arduino.
I have this code in Arduino to recieve and work with data from the serial:
int incomingByte = 0; // for incoming serial data
void setup() {
Serial.begin(9600); // opens serial port, sets data rate to 9600 bps
}
void loop() {
// send data only when you receive data:
if (Serial.available() > 0) {
// read the incoming byte:
incomingByte = Serial.read();
// say what you got:
Serial.print("I received: ");
Serial.println(incomingByte, DEC);
}
}
I really need help, I was all the week reading and trying things with other topics in this forum but I couldnt do it. I would need need to know concretly what I have to do.
MILLIONS OF THANKS TO EVERYBODY!
PS: I didnt know how to put smaller the images, so I put the URL.