diff options
author | Robert Jonsson <spamatica@gmail.com> | 2011-03-07 19:01:11 +0000 |
---|---|---|
committer | Robert Jonsson <spamatica@gmail.com> | 2011-03-07 19:01:11 +0000 |
commit | e40fc849149dd97c248866a4a1d026dda5e57b62 (patch) | |
tree | b12b358f3b3a0608001d30403358f8443118ec5f /attic/muse2-oom/muse2/share/pybridge/examples/mute.py | |
parent | 1bd4f2e8d9745cabb667b043171cad22c8577768 (diff) |
clean3
Diffstat (limited to 'attic/muse2-oom/muse2/share/pybridge/examples/mute.py')
-rw-r--r-- | attic/muse2-oom/muse2/share/pybridge/examples/mute.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/attic/muse2-oom/muse2/share/pybridge/examples/mute.py b/attic/muse2-oom/muse2/share/pybridge/examples/mute.py new file mode 100644 index 00000000..5732a7f8 --- /dev/null +++ b/attic/muse2-oom/muse2/share/pybridge/examples/mute.py @@ -0,0 +1,20 @@ +""" +//========================================================= +// 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): + muse.setMute("Strings", False) + muse.setMute("Lead1", True) + time.sleep(1) + muse.setMute("Strings", True) + muse.setMute("Lead1", False) + time.sleep(1) + |