summaryrefslogtreecommitdiffstats
path: root/scripts/ingenams
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-11-17 21:07:55 +0000
committerDavid Robillard <d@drobilla.net>2014-11-17 21:07:55 +0000
commit27e81cf8f9a46c8080cac554f8a72afc4ad7963f (patch)
tree93907a070322a83b3ca21eea2a7e2dfe128ddfca /scripts/ingenams
parentb9e61de6668c6450d7b28040519ec2cb3b1ad87f (diff)
downloadingen-27e81cf8f9a46c8080cac554f8a72afc4ad7963f.tar.gz
ingen-27e81cf8f9a46c8080cac554f8a72afc4ad7963f.tar.bz2
ingen-27e81cf8f9a46c8080cac554f8a72afc4ad7963f.zip
Add support for pitch bend and channel/note pressure.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5488 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'scripts/ingenams')
-rwxr-xr-xscripts/ingenams2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/ingenams b/scripts/ingenams
index 952051c9..090db76b 100755
--- a/scripts/ingenams
+++ b/scripts/ingenams
@@ -83,7 +83,7 @@ class World:
port_index = int(port_id)
if world.mod_prototypes[self.mod_sym(mod_id)] == note_uri:
# Adapt MCV/ADVMCV port index to Note port index
- port_mapping = [ 3, 0, 2, 4, -1, -1, -1, -1, -1, -1 ]
+ port_mapping = [ 3, 0, 2, 4, 6, 5, -1, -1, -1, -1 ]
port_index = port_mapping[port_index]
if port_index == -1:
sys.stderr.write('warning: unsupported MCV port %d\n' % int(port_id))