summaryrefslogtreecommitdiff
path: root/attic/muse2-oom/muse2/share/pybridge/examples/ctrlexample.py
diff options
context:
space:
mode:
Diffstat (limited to 'attic/muse2-oom/muse2/share/pybridge/examples/ctrlexample.py')
-rw-r--r--attic/muse2-oom/muse2/share/pybridge/examples/ctrlexample.py26
1 files changed, 0 insertions, 26 deletions
diff --git a/attic/muse2-oom/muse2/share/pybridge/examples/ctrlexample.py b/attic/muse2-oom/muse2/share/pybridge/examples/ctrlexample.py
deleted file mode 100644
index 9e28afad..00000000
--- a/attic/muse2-oom/muse2/share/pybridge/examples/ctrlexample.py
+++ /dev/null
@@ -1,26 +0,0 @@
-"""
-//=========================================================
-// MusE
-// Linux Music Editor
-// (C) Copyright 2009 Mathias Gyllengahm (lunar_shuttle@users.sf.net)
-//=========================================================
-"""
-
-import Pyro.core
-import time
-
-muse=Pyro.core.getProxyForURI('PYRONAME://:Default.muse')
-#for i in range(0,10):
-# print "Ctrl no " + str(i) + " = " + str(muse.getMidiControllerValue("Track 1", i))
-
-"""
-for i in range(0,127):
- muse.setMidiControllerValue("Track 1", 7, i)
- time.sleep(0.1)
-"""
-
-muse.setMidiControllerValue("Track 1", 7, 56)
-print muse.getMidiControllerValue("Track 1", 7)
-print muse.getAudioTrackVolume("Out 1")
-muse.setAudioTrackVolume("Out 1", -1.0)
-