added initial transcoding config for mario, the actual mapping targets must be discussed

This commit is contained in:
Stefan Kögl 2014-03-09 21:21:44 +01:00
parent 72f9a44b4e
commit 8a4a7a9768
1 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,30 @@
from chaosc.transcoders_ng import *
transcoders = [
MappingTranscoder(
"/(.*?)/ekg",
"insert resolume osc address here",
[["osc_arg", 0, "osc_arg", 0, IntRange2FloatConverter(1023)]]),
MappingTranscoder(
"/(.*?)/heartbeat",
"insert resolume osc address here",
[
["osc_arg", 0, "osc_arg", 0, KeepConverter()],
["osc_arg", 1, "osc_arg", 1, KeepConverter()],
["osc_arg", 2, "osc_arg", 2, KeepConverter()]]),
MappingTranscoder(
"/(.*?)/airFlow",
"insert resolume osc address here",
[
["osc_arg", 0, "osc_arg", 0, KeepConverter()]]),
MappingTranscoder(
"/(.*?)/emg",
"insert resolume osc address here",
[
["osc_arg", 0, "osc_arg", 0, KeepConverter()]]),
MappingTranscoder(
"/(.*?)/temperature",
"insert resolume osc address here",
[
["osc_arg", 0, "osc_arg", 0, KeepConverter()]]),
]