summaryrefslogtreecommitdiffstats
path: root/scripts/ingenams
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-12-31 04:28:36 +0000
committerDavid Robillard <d@drobilla.net>2013-12-31 04:28:36 +0000
commitc8a1355b8f612048ca3169df78f4f1dbad50c6ac (patch)
tree6fcc9006f1ebfccbb808843ec8d9c05b5aa58311 /scripts/ingenams
parent763a3eb36fa35c53b39536779a7fefefff541d1c (diff)
downloadingen-c8a1355b8f612048ca3169df78f4f1dbad50c6ac.tar.gz
ingen-c8a1355b8f612048ca3169df78f4f1dbad50c6ac.tar.bz2
ingen-c8a1355b8f612048ca3169df78f4f1dbad50c6ac.zip
ingenams: Support vca and mix modules.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5239 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'scripts/ingenams')
-rwxr-xr-xscripts/ingenams8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/ingenams b/scripts/ingenams
index 0d35bd39..2d768a5c 100755
--- a/scripts/ingenams
+++ b/scripts/ingenams
@@ -188,6 +188,14 @@ def scala_module(world, mod_id, scala_name):
pass
def standard_module(world, mod_id, x, y, name, arg):
+ if name == 'vca':
+ if arg > 0:
+ name += 'exp_audio'
+ else:
+ name += 'lin_audio'
+ elif name == 'mix':
+ name += 'er_%dch_audio' % int(arg)
+
lv2_uri = ams_prefix + name
world.add_block(mod_id, lv2_uri, x, y)