diff options
author | Oli <olivier.belanger@umontreal.ca> | 2007-06-13 19:08:53 (GMT) |
---|---|---|
committer | Oli <olivier.belanger@umontreal.ca> | 2007-06-13 19:08:53 (GMT) |
commit | 46e8c5234c25b7fe4eb09d64be15369b25659cb1 (patch) | |
tree | 9fbb639fa5aa92e0df268324f0602774f68d8ef7 /TamTam.py | |
parent | eabe84c60f65357beeb45fd2a2240d944b5759c5 (diff) |
SynthLab's presets can be saved on disk
Diffstat (limited to 'TamTam.py')
-rwxr-xr-x | TamTam.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -136,6 +136,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): @@ -191,6 +194,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) |