aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/eg-fifths.lv2
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/eg-fifths.lv2')
-rw-r--r--plugins/eg-fifths.lv2/fifths.c6
-rw-r--r--plugins/eg-fifths.lv2/wscript2
2 files changed, 4 insertions, 4 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
diff --git a/plugins/eg-fifths.lv2/wscript b/plugins/eg-fifths.lv2/wscript
index c45dd64..811634e 100644
--- a/plugins/eg-fifths.lv2/wscript
+++ b/plugins/eg-fifths.lv2/wscript
@@ -39,7 +39,7 @@ def build(bld):
target = '%s/%s' % (bundle, 'manifest.ttl'),
install_path = '${LV2DIR}/%s' % bundle,
LIB_EXT = module_ext)
-
+
# Copy other data files to build bundle (build/eg-fifths.lv2)
for i in ['fifths.ttl']:
bld(features = 'subst',