Go Down

Topic: convert Serial to MIDI ( loop note:( ) (Read 1 time) previous topic - next topic


Sep 22, 2012, 04:06 pm Last Edit: Sep 22, 2012, 04:08 pm by grzeniek Reason: 1


I use only USB connect. And virtual serial port in my PC.
I use photoresistor. My MIDI sound in Fruity Loops is loop. When sensor0 > 10 i need still play mine note. Not loop.
How do this?

And Serial MIDI Converter V2D.

Code on Arduino:

   if ((analogRead(sensor0)) > 10)
      noteOn(0x90, nuta , 0x45);
      noteOn(0x90, nuta , 0x00);

void noteOn(int cmd, int pitch, int velocity)


Thanks :)

Go Up