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@localhost.localdomain>2007-01-28 01:37:58 (GMT)
committer James <olpc@localhost.localdomain>2007-01-28 01:37:58 (GMT)
commitb3fd3b66290e1ad90ed3898eb3e81366117c87c4 (patch)
tree79bcecd184d41e7023fb3bf029acfedd0e74991d /Config.py
parent386917bb06f058b013f1644541aa00f5dd6e4984 (diff)
simplified sclient interface
Diffstat (limited to 'Config.py')
-rw-r--r--Config.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/Config.py b/Config.py
index 4f83b32..0b8f86a 100644
--- a/Config.py
+++ b/Config.py
@@ -334,7 +334,13 @@ RECORDABLE_INSTRUMENT_CSOUND_IDS = { MIC1 : 7,
MIC3 : 9,
MIC4 : 10 }
-#COMMANDS
+#CSOUND COMMANDS
+CSOUND_LOAD_INSTRUMENT = 'f%d 0 0 -1 "%s" 0 0 0'
+CSOUND_MIC_RECORD = 'i5201 0 5 %d'
+CSOUND_UNLOAD_TABLES = 'i%d 0 0.1 %d' % (INST_FREE, len(INSTRUMENTS))
+
+#CSOUND COMMANDS - DEPRECATED
+
LOAD_INSTRUMENT_COMMAND = \
"perf.InputMessage('f%d 0 0 -1 \"%s\" 0 0 0')\n"
PLAY_NOTE_COMMAND = \