docs: custom module send/receive
This commit is contained in:
parent
a2f1f94250
commit
1322a1ab3c
1 changed files with 2 additions and 2 deletions
|
|
@ -73,14 +73,14 @@ Send osc/midi message to connected clients. `host` and `port` can be specified t
|
|||
- `host` (optional): `string` ip address, valid hostname or `"midi"`
|
||||
- `port` (optional): `integer` port number or `string` midi device name
|
||||
- `address`: osc address
|
||||
- `args`: value or `{type: "OSC_TYPE_LETTER", value: VALUE}` `object`
|
||||
- `args`: value or `{type: "OSC_TYPE_LETTER", value: VALUE}` `object` (objects that don't match this format will simply be turned to a JSON string).
|
||||
- `options` (optional): set to `{clientId: id}` to define which client receives the message (where `id` is the client's id as retreived from `app` events or `oscOutFilter`)
|
||||
|
||||
----
|
||||
|
||||
#### `send(host, port, address, ...args)`
|
||||
|
||||
Send osc/midi to a target.
|
||||
Send osc/midi to a target (see `receive()`).
|
||||
|
||||
----
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue