|
|
|
@ -505,7 +505,7 @@ void loop() |
|
|
|
|
lcd.setCursor(14 + instance_id, 1); |
|
|
|
|
lcd.write(6 + instance_id); |
|
|
|
|
} |
|
|
|
|
else if (midi_voices[instance_id] == 0 && midi_decay[instance_id] == 0) |
|
|
|
|
else if (midi_voices[instance_id] == 0 && midi_decay[instance_id] == 0 && !MicroDexed[instance_id]->getSustain()) |
|
|
|
|
{ |
|
|
|
|
midi_decay[instance_id]--; |
|
|
|
|
lcd.setCursor(14 + instance_id, 1); |
|
|
|
@ -519,7 +519,7 @@ void loop() |
|
|
|
|
lcd.setCursor(14 + instance_id, 1); |
|
|
|
|
lcd.write(6 + instance_id); |
|
|
|
|
} |
|
|
|
|
else if (midi_voices[instance_id] == 0) |
|
|
|
|
else if (midi_voices[instance_id] == 0 && !MicroDexed[instance_id]->getSustain()) |
|
|
|
|
{ |
|
|
|
|
midi_playing[instance_id] = false; |
|
|
|
|
lcd.setCursor(14 + instance_id, 1); |
|
|
|
|