summaryrefslogtreecommitdiff
path: root/attic/muse2-oom/muse2/share/pybridge/examples/addtrack.py
diff options
context:
space:
mode:
authorRobert Jonsson <spamatica@gmail.com>2011-09-15 12:14:55 +0000
committerRobert Jonsson <spamatica@gmail.com>2011-09-15 12:14:55 +0000
commitb0546e5e7f7044019892543c6c82029db8d564a7 (patch)
tree1b96a6260900f3fbf3513fb48a5a72aa89052dc8 /attic/muse2-oom/muse2/share/pybridge/examples/addtrack.py
parent583c73d1a07154d3d2672d65d8cce6495f490454 (diff)
moved attic to a branch of it's own
Diffstat (limited to 'attic/muse2-oom/muse2/share/pybridge/examples/addtrack.py')
-rw-r--r--attic/muse2-oom/muse2/share/pybridge/examples/addtrack.py33
1 files changed, 0 insertions, 33 deletions
diff --git a/attic/muse2-oom/muse2/share/pybridge/examples/addtrack.py b/attic/muse2-oom/muse2/share/pybridge/examples/addtrack.py
deleted file mode 100644
index 116b35c0..00000000
--- a/attic/muse2-oom/muse2/share/pybridge/examples/addtrack.py
+++ /dev/null
@@ -1,33 +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 j in range(0,5):
- for i in range(0,30):
- muse.addMidiTrack("amiditrack" + str(i))
- for i in range(0,30):
- muse.deleteTrack("amiditrack" + str(i))
-
-for i in range(0, 10):
- print i
- muse.addMidiTrack("amiditrack")
- muse.addWaveTrack("awavetrack")
- muse.addOutput("anoutput")
- muse.addInput("aninput")
- muse.setMute("aninput", False)
- muse.setAudioTrackVolume("aninput",1.0)
- muse.deleteTrack("amiditrack")
- muse.deleteTrack("awavetrack")
- muse.deleteTrack("anoutput")
- muse.deleteTrack("aninput")
- time.sleep(1)
-