summaryrefslogtreecommitdiff
path: root/muse2/share/pybridge/examples/mute.py
blob: 5732a7f8064d8b40e04609d0712ac0660d150653 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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)