Temporarily removed special function
This commit is contained in:
parent
5f0dc82993
commit
1e1e7f1ec1
6
PringlesLooper.ino
Executable file → Normal file
6
PringlesLooper.ino
Executable file → Normal file
@ -87,7 +87,7 @@ void loop() {
|
|||||||
tempState = digitalRead(i);
|
tempState = digitalRead(i);
|
||||||
|
|
||||||
if(tempState != oldValues[i-2]){
|
if(tempState != oldValues[i-2]){
|
||||||
if(i == 10)
|
/* if(i == 10)
|
||||||
{
|
{
|
||||||
if(tempState == 0)
|
if(tempState == 0)
|
||||||
MIDI.sendNoteOn(pedalNote, 127, 1);
|
MIDI.sendNoteOn(pedalNote, 127, 1);
|
||||||
@ -119,12 +119,12 @@ void loop() {
|
|||||||
MIDI.sendNoteOff(clearNote, 0, 1);
|
MIDI.sendNoteOff(clearNote, 0, 1);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{*/
|
||||||
if(tempState == 0)
|
if(tempState == 0)
|
||||||
MIDI.sendNoteOn(i, 127, 1);
|
MIDI.sendNoteOn(i, 127, 1);
|
||||||
else
|
else
|
||||||
MIDI.sendNoteOff(i, 0, 1);
|
MIDI.sendNoteOff(i, 0, 1);
|
||||||
}
|
// }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user