aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/eg-fifths.lv2/fifths.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/eg-fifths.lv2/fifths.c')
-rw-r--r--plugins/eg-fifths.lv2/fifths.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/eg-fifths.lv2/fifths.c b/plugins/eg-fifths.lv2/fifths.c
index c7d12e1..25d7fee 100644
--- a/plugins/eg-fifths.lv2/fifths.c
+++ b/plugins/eg-fifths.lv2/fifths.c
@@ -95,7 +95,7 @@ instantiate(const LV2_Descriptor* descriptor,
// Map URIs and initialise forge/logger
map_fifths_uris(self->map, &self->uris);
-
+
return (LV2_Handle)self;
}
@@ -142,12 +142,12 @@ run(LV2_Handle instance,
if (note <= 127 - 7) {
// Make a note one 5th (7 semitones) higher than input
MIDINoteEvent fifth;
-
+
// Could simply do fifth.event = *ev here instead...
fifth.event.time.frames = ev->time.frames; // Same time
fifth.event.body.type = ev->body.type; // Same type
fifth.event.body.size = ev->body.size; // Same size
-
+
fifth.msg[0] = msg[0]; // Same status
fifth.msg[1] = msg[1] + 7; // Pitch up 7 semitones
fifth.msg[2] = msg[2]; // Same velocity