Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Config.py
diff options
context:
space:
mode:
authorjaberg <james@localhost.localdomain>2007-01-09 23:32:06 (GMT)
committer jaberg <james@localhost.localdomain>2007-01-09 23:32:06 (GMT)
commit28b5661e313b1d7564113b69faf49391a2b4ad8f (patch)
tree1f23cbc8304995661d6e3c726a7b45ab43130661 /Config.py
parentb3d81b02d8cbdab7e148e440ced63579b2b26001 (diff)
tempo slider, NoteLooper::getTick
Diffstat (limited to 'Config.py')
-rw-r--r--Config.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/Config.py b/Config.py
index e751262..bf05fa1 100644
--- a/Config.py
+++ b/Config.py
@@ -6,8 +6,8 @@ TAM_TAM_ROOT = os.path.dirname(os.path.abspath(__file__))
print 'INFO: loaded TAMTAM_ROOT=%s' % TAM_TAM_ROOT
#BUFFERING
-CSOUND_HORIZON = 0.100
-CLOCK_DELAY = 0.04
+NOTELOOPER_HORIZON = 0.150
+NOTELOOPER_SLEEP = 0.05
#PATHS
SOUNDS_DIR = TAM_TAM_ROOT + "/Resources/Sounds"
@@ -328,6 +328,7 @@ LOAD_INSTRUMENT_COMMAND = \
"perf.InputMessage('f%d 0 0 -1 \"%s\" 0 0 0')\n"
PLAY_NOTE_COMMAND = \
"perf.InputMessage('i %d.%d %f %f %f %f %f %f %d %f %f %d %f %f %f %f')\n"
+#TODO: add the extra three params to COMMAND_MINUS_DELAY, and instrument 5777 in univorc.csd
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 = \
@@ -419,7 +420,9 @@ ModKeys = _ModKeys()
############
#DEFAULTS
-DEFAULT_TEMPO = 120
+PLAYER_TEMPO = 120
+PLAYER_TEMPO_LOWER = 40
+PLAYER_TEMPO_UPPER = 200
DEFAULT_VOLUME = 80
#NUMERICAL CONSTANTS