65 lines
1.7 KiB
YAML
65 lines
1.7 KiB
YAML
log_devices: true
|
|
devices:
|
|
- name: "VMPK"
|
|
max_connections: 1
|
|
queue_length: 3
|
|
interval: 100ms
|
|
connect:
|
|
- args: ["sh", "-c", "echo Hello world!"]
|
|
disconnect:
|
|
- args: ["sh", "-c", "echo Bye!"]
|
|
events:
|
|
- type: ProgramChange
|
|
run:
|
|
- cmd: "echo [$channel] ProgramChange $id"
|
|
- type: Controller
|
|
remap: 0:100
|
|
run:
|
|
- cmd: "echo [$channel] Controller $id $value $rawvalue"
|
|
- type: NoteOff
|
|
id: 25-30
|
|
run:
|
|
- cmd: "echo [$channel] NoteOff $id"
|
|
- type: NoteOn
|
|
channel: 0
|
|
run:
|
|
- cmd: "echo [$channel] NoteOn $id $value $raw"
|
|
- type: NoteOff
|
|
id: 30-127
|
|
channel: 0
|
|
run:
|
|
- cmd: "for I in $(seq 1 3) ; do echo wait $I ; sleep 1; done"
|
|
detach: true
|
|
- type: PitchBend
|
|
remap: 0-100
|
|
float: true
|
|
value: 0-65535
|
|
run:
|
|
- cmd: "echo [$channel] PitchBend $value $raw $toto"
|
|
envconf:
|
|
timestamp: toto
|
|
- name: "VMPK"
|
|
log_events: true
|
|
max_connections: 1
|
|
connect:
|
|
- args: ["sh", "-c", "echo Hello world! 2"]
|
|
disconnect:
|
|
- args: ["sh", "-c", "echo Bye! 2"]
|
|
events:
|
|
- type: NoteOff
|
|
id: 25-30
|
|
run:
|
|
- args: ["sh", "-c", "echo 2 [$channel] NoteOff $id"]
|
|
- type: NoteOn
|
|
channel: 0
|
|
remap: -1
|
|
run:
|
|
- args: ["sh", "-c", "echo 2 [$channel] NoteOn $id $value"]
|
|
- type: PitchBend
|
|
remap: 0-100
|
|
float: true
|
|
value: 0-65535
|
|
run:
|
|
- args: ["sh", "-c", "echo [$channel] PitchBend $value $raw $toto"]
|
|
envconf:
|
|
timestamp: toto
|