summaryrefslogtreecommitdiffstats
path: root/src/scripts/python/scripts/sillysinepatch.py
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-02-02 01:22:20 +0000
committerDavid Robillard <d@drobilla.net>2010-02-02 01:22:20 +0000
commitc1ac1f31457708db618143f54a3dfef7eb3361aa (patch)
tree88c91e75f4a90cf6efab9ab6f8219d53dd5b892f /src/scripts/python/scripts/sillysinepatch.py
parent6e8877ee110b774caef800adbe35b21338b3372f (diff)
downloadingen-c1ac1f31457708db618143f54a3dfef7eb3361aa.tar.gz
ingen-c1ac1f31457708db618143f54a3dfef7eb3361aa.tar.bz2
ingen-c1ac1f31457708db618143f54a3dfef7eb3361aa.zip
Remove set_port_value from CommonInterface (replaced with set_property(path, "ingen:value", value)).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2404 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/scripts/python/scripts/sillysinepatch.py')
-rw-r--r--src/scripts/python/scripts/sillysinepatch.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scripts/python/scripts/sillysinepatch.py b/src/scripts/python/scripts/sillysinepatch.py
index dcb37a97..f46c6d46 100644
--- a/src/scripts/python/scripts/sillysinepatch.py
+++ b/src/scripts/python/scripts/sillysinepatch.py
@@ -29,8 +29,8 @@ def main(om):
om.synth.create_patch("/silly_sine", 1)
om.synth.create_node("/silly_sine/output", "Internal", "", "audio_output", 0)
om.synth.create_node("/silly_sine/sine", "LADSPA", "cmt.so", "sine_fcac", 0)
- om.synth.set_port_value("/silly_sine/sine/Frequency", 440.0)
- om.synth.set_port_value("/silly_sine/sine/Amplitude", 1.0)
+ om.synth.set_property("/silly_sine/sine/Frequency", "ingen:value", 440.0)
+ om.synth.set_property("/silly_sine/sine/Amplitude", "ingen:value", 1.0)
om.synth.connect("/silly_sine/sine/Output", "/silly_sine/output/out")
om.synth.enable_patch("/silly_sine")
om.engine.enable()