https://github.com/kanaya/midi-timer

Dependencies:   MIDI mbed-rtos mbed

Files at this revision

API Documentation at this revision

Comitter:
kanaya
Date:
Wed Oct 23 04:45:03 2013 +0000
Parent:
0:12da9c671126
Commit message:
Now all notes are sent to channel 1.

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 12da9c671126 -r cb68a764ab9d main.cpp
--- a/main.cpp	Mon Oct 14 05:41:11 2013 +0000
+++ b/main.cpp	Wed Oct 23 04:45:03 2013 +0000
@@ -82,7 +82,7 @@
         // Send MIDI note on
         leds[num] = 1;
         midiMutex.lock();
-        midi.sendNoteOn(notes[num], 127, num + 1);
+        midi.sendNoteOn(notes[num], 127, 1);
         midiMutex.unlock();
         // On-interval
         Thread::wait(interval1 + MIN_ON_INTERVAL);