1""" 2//========================================================= 3// MusE 4// Linux Music Editor 5// (C) Copyright 2009 Mathias Gyllengahm (lunar_shuttle@users.sf.net) 6# 7# This program is free software; you can redistribute it and/or modify 8# it under the terms of the GNU General Public License 9# as published by the Free Software Foundation; either version 2 10# of the License, or (at your option) any later version. 11# 12# This program is distributed in the hope that it will be useful, 13# but WITHOUT ANY WARRANTY; without even the implied warranty of 14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15# GNU General Public License for more details. 16# 17# You should have received a copy of the GNU General Public License 18# along with this program; if not, write to the 19# Free Software Foundation, Inc., 20# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 21//========================================================= 22""" 23 24import Pyro4.core 25import time 26 27muse=Pyro4.core.Proxy('PYRONAME:muse') 28for i in range(0,10): 29 muse.setMute("Strings", False) 30 muse.setMute("Lead1", True) 31 time.sleep(1) 32 muse.setMute("Strings", True) 33 muse.setMute("Lead1", False) 34 time.sleep(1) 35 36