From 1322a1ab3c8dda3b57de1c8f770dc7b613cfe3e8 Mon Sep 17 00:00:00 2001 From: bordun Date: Sat, 6 Feb 2021 15:50:11 +0100 Subject: [PATCH] docs: custom module send/receive --- resources/docs/docs/custom-module/custom-module.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/docs/docs/custom-module/custom-module.md b/resources/docs/docs/custom-module/custom-module.md index 791aa540..01617bed 100644 --- a/resources/docs/docs/custom-module/custom-module.md +++ b/resources/docs/docs/custom-module/custom-module.md @@ -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()`). ----