diff options
-rw-r--r-- | plugins/eg-fifths.lv2/fifths.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/eg-fifths.lv2/fifths.c b/plugins/eg-fifths.lv2/fifths.c index cc61cc9..9345399 100644 --- a/plugins/eg-fifths.lv2/fifths.c +++ b/plugins/eg-fifths.lv2/fifths.c @@ -137,8 +137,7 @@ run(LV2_Handle instance, lv2_atom_sequence_append_event( self->out_port, out_capacity, ev); - const uint8_t note = msg[1]; - if (note <= 127 - 7) { + if (msg[1] <= 127 - 7) { // Make a note one 5th (7 semitones) higher than input MIDINoteEvent fifth; |