Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Config.py
diff options
context:
space:
mode:
authorJames <olpc@xo-05-28-3A.localdomain>2007-07-20 23:23:53 (GMT)
committer James <olpc@xo-05-28-3A.localdomain>2007-07-20 23:23:53 (GMT)
commit6784621507a8c7786e731b984ab57a7b8c3da400 (patch)
tree45a1132c192d23dbc77dd7b0022349621f4332f8 /Config.py
parentbbff3cb7d8d95976a55b9ad8d7a6d37fca69f731 (diff)
parentc312ded2c29fdcc3435d93834f5044175cbe6884 (diff)
merged
Diffstat (limited to 'Config.py')
-rw-r--r--Config.py14
1 files changed, 8 insertions, 6 deletions
diff --git a/Config.py b/Config.py
index f8476fc..e39c1e4 100644
--- a/Config.py
+++ b/Config.py
@@ -33,10 +33,12 @@ if SugarMode == True:
PREF_DIR = env.get_profile_path() + '/tamtam'
TUNE_DIR=env.get_profile_path() + '/tamtam/tunes'
SYNTH_DIR=env.get_profile_path() + '/tamtam/synthlab'
+ SNDS_DIR=env.get_profile_path() + '/tamtam/snds'
else:
PREF_DIR = SOUNDS_DIR + '/temp'
TUNE_DIR= os.getenv('HOME') + '/.tamtam/tunes'
SYNTH_DIR= os.getenv('HOME') + '/.tamtam/synthlab'
+ SNDS_DIR= os.getenv('HOME') + '/.tamtam/snds'
#PLUGIN
@@ -102,10 +104,10 @@ def _addInstrument( name, csoundInstrumentId, instrumentRegister, soundClass, ca
INSTRUMENTS[name] = Instrument( name, _nextInstrumentId[0], csoundInstrumentId, instrumentRegister, soundClass, category, loopStart, loopEnd, crossDur, kit )
_nextInstrumentId[0] += 1
-_addInstrument( "mic1", INST_TIED, MID, 'melo', 'mic', .01, .99, .01 )
-_addInstrument( "mic2", INST_TIED, MID, 'melo', 'mic', .01, .99, .01 )
-_addInstrument( "mic3", INST_TIED, MID, 'melo', 'mic', .01, .99, .01 )
-_addInstrument( "mic4", INST_TIED, MID, 'melo', 'mic', .01, .99, .01 )
+_addInstrument( "mic1", INST_TIED, MID, 'melo', 'mic', .01, 1.99, .01 )
+_addInstrument( "mic2", INST_TIED, MID, 'melo', 'mic', .01, 1.99, .01 )
+_addInstrument( "mic3", INST_TIED, MID, 'melo', 'mic', .01, 1.99, .01 )
+_addInstrument( "mic4", INST_TIED, MID, 'melo', 'mic', .01, 1.99, .01 )
_addInstrument( "lab1", INST_SIMP, MID, 'melo', 'lab', 0, 0, 0 )
_addInstrument( "lab2", INST_SIMP, MID, 'melo', 'lab', 0, 0, 0 )
_addInstrument( "lab3", INST_SIMP, MID, 'melo', 'lab', 0, 0, 0 )
@@ -347,7 +349,7 @@ PLAY_NOTE_COMMAND_MINUS_DELAY = \
"perf.InputMessage('i 5777 0.0 0.001 %d.%d %s %f %f %f %f %f %d %f %f %d %f')\n"
PLAY_NOTE_OFF_COMMAND = \
"perf.InputMessage('i %s.%s .2 0.01 1. 0. 0. 0.5 %d 0 0 0 0')\n" \
- % ('%d', '%d', INSTRUMENT_TABLE_OFFSET )
+ % ('%d', '%d', INSTRUMENT_TABLE_OFFSET )
MIC_RECORDING_COMMAND = \
"perf.InputMessage('i5201 0 5 %d')\n"
UNLOAD_TABLES_COMMAND = \
@@ -417,7 +419,7 @@ THUMBNAIL_DISPLAYED_COLOR = "#CC1133"
### miniTamTam/SYNTHLAB SPECIFIC ###
INST_BCK_COLOR = '#999999'
PANEL_BCK_COLOR = '#CCCCCC'
-PANEL_COLOR = '#999999'
+PANEL_COLOR = '#CCCCCC'
SL_LINE_COLOR = "#666666"
SL_OVER_WIRE_COLOR = "#FFFFFF"
SL_OVER_GATE_COLOR = "#00FF18"