Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TamTam.py
diff options
context:
space:
mode:
authoramartin <olpc@xo-00-CE-12.localdomain>2007-06-16 19:12:38 (GMT)
committer amartin <olpc@xo-00-CE-12.localdomain>2007-06-16 19:12:38 (GMT)
commit94e5d8a60e3e4a3e45105e8e9cb12c4e0585ea04 (patch)
treeec9e55b7133d1f2feba335a66b21a21d966b02d3 /TamTam.py
parent345f46372ae3b37b67e4aebcb67c7581a5ca487d (diff)
parent46e8c5234c25b7fe4eb09d64be15369b25659cb1 (diff)
Merge branch 'master' of git+ssh://amartin@dev.laptop.org/git/projects/tamtam
Diffstat (limited to 'TamTam.py')
-rwxr-xr-xTamTam.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/TamTam.py b/TamTam.py
index 83983a2..28e8dfb 100755
--- a/TamTam.py
+++ b/TamTam.py
@@ -140,6 +140,9 @@ class TamTam(Activity):
if Config.DEBUG > 3: print 'DEBUG: TamTam::onFocusOut in TamTam.py'
csnd = new_csound_client()
csnd.connect(True)
+ if self.mode == 'synth':
+ self.modeList[ self.mode ].updateSound()
+ self.modeList[ self.mode ].updateTables()
#csnd.load_instruments()
def onFocusOut(self, event, data=None):
@@ -197,6 +200,7 @@ class TamTam(Activity):
def ensure_dirs(self):
self.ensure_dir(Config.TUNE_DIR)
+ self.ensure_dir(Config.SYNTH_DIR)
if not os.path.isdir(Config.PREF_DIR):
os.mkdir(Config.PREF_DIR)