Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Util
diff options
context:
space:
mode:
authorolipet <olpc@localhost.localdomain>2007-01-13 12:39:21 (GMT)
committer olipet <olpc@localhost.localdomain>2007-01-13 12:39:21 (GMT)
commit914c1970b36e4ada1b9af2baa90804a27096c608 (patch)
tree9523f4c40f2420624494856fb7798c1ba72d8468 /Util
parent4ba5f27095515157ddbefae83d422295b59a0fe0 (diff)
recording bug fixed
Diffstat (limited to 'Util')
-rw-r--r--Util/CSoundClient.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/Util/CSoundClient.py b/Util/CSoundClient.py
index e916d70..e1ac0c8 100644
--- a/Util/CSoundClient.py
+++ b/Util/CSoundClient.py
@@ -20,7 +20,13 @@ class CSoundClientBase:
def micRecording( self, table ):
mess = Config.MIC_RECORDING_COMMAND % table
-# print mess
+ self.sendText( mess )
+
+ def load_mic_instrument( self, inst ):
+ home_path = env.get_profile_path() + Config.PREF_DIR
+ fileName = home_path + '/' + inst
+ instrumentId = Config.INSTRUMENT_TABLE_OFFSET + int(fileName[-1]) + 6
+ mess = Config.LOAD_INSTRUMENT_COMMAND % ( instrumentId, fileName )
self.sendText( mess )
def load_instruments( self ):