|
|
@ -41,6 +41,7 @@ void setup() |
|
|
|
|
|
|
|
|
|
|
|
randomSeed(analogRead(A0)); |
|
|
|
randomSeed(analogRead(A0)); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
// Sound change 17
|
|
|
|
// Sound change 17
|
|
|
|
MIDI.sendNoteOn(MASTER_KEY_MIDI, 99, 1); |
|
|
|
MIDI.sendNoteOn(MASTER_KEY_MIDI, 99, 1); |
|
|
|
delay(500); |
|
|
|
delay(500); |
|
|
@ -95,6 +96,7 @@ void setup() |
|
|
|
MIDI.sendNoteOff(MASTER_KEY_MIDI, 0, 1); |
|
|
|
MIDI.sendNoteOff(MASTER_KEY_MIDI, 0, 1); |
|
|
|
|
|
|
|
|
|
|
|
delay(5000); |
|
|
|
delay(5000); |
|
|
|
|
|
|
|
*/ |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void loop() |
|
|
|
void loop() |
|
|
@ -116,7 +118,8 @@ void sendMIDI(int8_t note, int8_t vel, int8_t chan, uint32_t dur) |
|
|
|
MIDIEvents.add(m); |
|
|
|
MIDIEvents.add(m); |
|
|
|
digitalWrite(LED, HIGH); |
|
|
|
digitalWrite(LED, HIGH); |
|
|
|
MIDI.sendNoteOn(note, vel, chan); |
|
|
|
MIDI.sendNoteOn(note, vel, chan); |
|
|
|
/* Serial.print(F("Sending MIDI on channel "));
|
|
|
|
/*
|
|
|
|
|
|
|
|
Serial.print(F("Sending MIDI on channel ")); |
|
|
|
Serial.print(chan); |
|
|
|
Serial.print(chan); |
|
|
|
Serial.print(F(" note ")); |
|
|
|
Serial.print(F(" note ")); |
|
|
|
Serial.print(note); |
|
|
|
Serial.print(note); |
|
|
|