diff options
author | Nat <natcl@hotmail.com> | 2007-09-20 18:40:46 (GMT) |
---|---|---|
committer | Nat <natcl@hotmail.com> | 2007-09-20 18:40:46 (GMT) |
commit | 75f2efb800ae54d2dd0ee5ce009ea02eef84981f (patch) | |
tree | b9b80effbae5f00cb57a0225d29e7d666e0f0250 /common/Config.py | |
parent | 5d2514fa8e5985265e048ba8c454d9565a357f17 (diff) |
path fixes
Diffstat (limited to 'common/Config.py')
-rw-r--r-- | common/Config.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/Config.py b/common/Config.py index d3b2b03..62bd1f6 100644 --- a/common/Config.py +++ b/common/Config.py @@ -26,6 +26,7 @@ print 'INFO: loaded TAMTAM_ROOT=%s' % TAM_TAM_ROOT #PATHS SOUNDS_DIR = "/usr/share/tamtam/Sounds" FILES_DIR = TAM_TAM_ROOT + "/common/Resources" +LIB_DIR = "/usr/share/tamtam" TUNE_DIR='/' SYNTH_DIR='/' if SugarMode == True: @@ -105,7 +106,7 @@ INSTRUMENTS = {} def _addInstrument( name, csoundInstrumentId, instrumentRegister, soundClass, category, loopStart, loopEnd, crossDur, kit = None ): if not QUICKLOAD or name[0:4] == "drum" or name in ["flute", "kalimba"]: # quick load INSTRUMENTS[name] = Instrument( name, _nextInstrumentId[0], csoundInstrumentId, instrumentRegister, soundClass, category, loopStart, loopEnd, crossDur, kit ) - instrumentDB.addInstrumentFromArgs( name, name, instrumentRegister, loopStart, loopEnd, crossDur, name, FILES_DIR+"/Images/"+name+".png", [ category ] ) + instrumentDB.addInstrumentFromArgs( name, name, instrumentRegister, loopStart, loopEnd, crossDur, name, LIB_DIR+"/Images/"+name+".png", [ category ] ) _nextInstrumentId[0] += 1 |