path: root/src/scripts/python/scripts/
diff options
authorDavid Robillard <>2010-02-03 04:46:56 +0000
committerDavid Robillard <>2010-02-03 04:46:56 +0000
commit87597f85c5a69a9accd3ce2ed88f2a006173e885 (patch)
treea3ffa393e9aecbc55dae64bad3bd45ee317e6d26 /src/scripts/python/scripts/
parenta645d2b8be4d7d31f6eef1649156b166a01e0c31 (diff)
Comprehensive use of cached URIs and more advanced Value (Atom) system.
Atoms (e.g. property values or port values) can now be an Atom::DICT, which maps directly to/from an RDF resource. This is now used to store control bindings as a port property, eliminating the special API. Full interned URIs used everywhere, instead of CURIEs pretending to be URIs. Avoid converting string literals to URIs all over the place. Support for binding MIDI pitch bender and MIDI channel pressure. Saving/restoring of MIDI bindings as a free side-effect of the above. git-svn-id: a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/scripts/python/scripts/')
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scripts/python/scripts/ b/src/scripts/python/scripts/
index 7c311451..6b7ed6ec 100755
--- a/src/scripts/python/scripts/
+++ b/src/scripts/python/scripts/
@@ -77,7 +77,7 @@ def cloneNode(om, node, patch):
# copy port values
for port in node.getPorts():
path = '%s/%s/%s' % (patch.getPath(), name, port.getName())
- om.synth.set_property_slow.async(path, "ingen:value", port.value)
+ om.synth.set_property_slow.async(path, "", port.value)
om.metadata.set.async(path, 'user-min', '%f' % port.minvalue)
om.metadata.set.async(path, 'user-max', '%f' % port.maxvalue)
return name
@@ -124,7 +124,7 @@ def flatten(om, patch):
conns = port4.getConnections().keys()
if len(conns) == 0:
portValue = port4.value
- om.synth.set_property_slow.async(dst, "ingen:value", portValue)
+ om.synth.set_property_slow.async(dst, "", portValue)
for port3 in port4.getConnections().keys():
src = port3.getPath()