aboutsummaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
authorokyeron <[email protected]>2019-07-12 17:44:16 -0500
committerokyeron <[email protected]>2019-07-12 17:44:16 -0500
commit3b3db5f0c286edc6f488c6057997542ee4976af8 (patch)
tree83bad5e24496fd0e18df4543f8592263bad30484 /README.md
parent4e737cef24f19c1839271b3cee5a566d80a282a3 (diff)
downloadOrca-3b3db5f0c286edc6f488c6057997542ee4976af8.tar.gz
Orca-3b3db5f0c286edc6f488c6057997542ee4976af8.zip
add pb and pg to readme
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/README.md b/README.md
index 3340c8f..3dd75a1 100644
--- a/README.md
+++ b/README.md
@@ -81,6 +81,18 @@ The [MIDI CC](https://www.sweetwater.com/insync/continuous-controller/) operator
It sends a value **between 0-127**, where the value is calculated as a ratio of 36, over a maximum of 127. For example, `!008`, is sending **28**, or `(8/36)*127` through the first channel, to the control mapped with `id0`. You can press **enter**, with the `!` operator selected, to assign it to a controller. By default, the operator sends to `CC64` [and up](https://nickfever.com/Music/midi-cc-list), the offset can be changed with the [command](#commands) `cc:0`, to set the offset to 0.
+## MIDI PITCHBEND
+
+The [MIDI PB](https://www.sweetwater.com/insync/pitch-bend/) operator `?` takes 3 inputs('channel, 'lsb, 'msb).
+
+It sends two different values **between 0-127**, where the value is calculated as a ratio of 36, over a maximum of 127. For example, `?008`, is sending an MSB of **28**, or `(8/36)*127` and an LSB of 0 through the first midi channel.
+
+## MIDI BANK SELECT / PROGRAM CHANGE
+
+This is a command (see below) rather than an operator and it combines the [MIDI program change and bank select functions](https://www.sweetwater.com/sweetcare/articles/6-what-msb-lsb-refer-for-changing-banks-andprograms/).
+
+The syntax is `pg:channel;msb;lsb;program`. Channel is 0-15, msb/lsb/program are 0-127, but program will automatically be translated to 1-128 by the MIDI driver. `program` typically correspondes to a "patch" selection on a synth. Note that `msb` may also be identified as "bank" and `lsb` as "sub" in some applications (like Ableton Live).
+
## UDP
The [UDP](https://nodejs.org/api/dgram.html#dgram_socket_send_msg_offset_length_port_address_callback) operator `;` locks each consecutive eastwardly ports. For example, `;hello`, will send the string "hello", on bang, to the port `49160` on `localhost`. In commander, use `udp:7777` to select the **custom UDP port 7777**, and `ip:127.0.0.12` to change the target IP.