bugfixes to make tx_voice work with base synth

This commit is contained in:
Christopher Herb
2023-07-07 16:57:30 +02:00
parent 1bc737ad66
commit 810be3b0b7
5 changed files with 26 additions and 8 deletions

View File

@@ -36,7 +36,7 @@ public:
void note_off(const note_event& event)
{
for (auto it = voices.begin(); it != voices.end(); it++) {
if ((*it).MidiNote == event.midi_note) {
if ((*it).midi_note == event.midi_note) {
(*it).note_off();
}
}