commit a7c0ac337787c7dfa4b267df291e430023937445
parent 95dfc4a5283af05f217810ba0c2022d5644d7abe
Author: Hans Petter Selasky <hps@selasky.org>
Date: Sun, 3 Feb 2019 20:25:20 +0100
Only trigger recording when there is a noteOn() event with non-zero velocity.
Signed-off-by: Hans Petter Selasky <hps@selasky.org>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Misc/Master.cpp b/src/Misc/Master.cpp
@@ -890,10 +890,10 @@ void Master::noteOn(char chan, char note, char velocity)
}
}
activeNotes[(int)note] = 1;
+ HDDRecorder.triggernow();
}
else
this->noteOff(chan, note);
- HDDRecorder.triggernow();
}
/*