Skip to content

Commit

Permalink
Add multiple command option to sendOSC.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rippert committed Dec 23, 2018
1 parent 6c0c6d3 commit 8507d87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion NetOSC.sh
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ function sendMIDI {
}

function sendOSC {
echo $@ > $pipe
eval echo -e $@ > $pipe
}

function syscmd {
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ Example: `sendMIDI dev Port-0 ch 1 cc 2 3` - Send a Continous controller message

**sendOSC** <u>any-valid-OSC-command</u>

send an arbitrary OSC command to the server at <u>OSC-server-IPv4-address</u>.
send an arbitrary OSC command to the server at <u>OSC-server-IPv4-address</u>. Multiple commands can be sent by seperating them with "\n" (the double quotes must be included).

Example: `sendOSC /ch/01/mix/fader ,f 0.5` - Set the Main fader of channel 1 on an XAIR mixer to it's midpoint.

Expand Down

0 comments on commit 8507d87

Please sign in to comment.