guides:osc
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| guides:osc [2026/10/23 02:17] – paul | guides:osc [2026/10/23 02:40] (current) – paul | ||
|---|---|---|---|
| Line 8: | Line 8: | ||
| < | < | ||
| + | # Null terminates a Tcl value and pads it's length to a multiple of four | ||
| + | # (needed for OSC spec) | ||
| + | # \x01 -> \x01\x00\x00\x00 | ||
| + | # \x01\x02\x03 -> \x01\x02\x03\x00 | ||
| + | # \x01\x02\x03\x04 -> \x01\x02\x03\x04\x00\x00\x00\x00 | ||
| fn oscPad {s} { | fn oscPad {s} { | ||
| set n [string bytelength $s] | set n [string bytelength $s] | ||
| Line 44: | Line 49: | ||
| ===== Start the Subscriber: ===== | ===== Start the Subscriber: ===== | ||
| - | Place a program that asserts '' | + | Place a program that asserts '' |
| For my current SuperCollider-based setup the assertion looks like this: | For my current SuperCollider-based setup the assertion looks like this: | ||
| < | < | ||
| - | Wish the NetAddr is 192.168.4.71: | + | Claim the NetAddr is 192.168.4.71: |
| </ | </ | ||
guides/osc.1792721842.txt.gz · Last modified: by paul
