Skip to main content

WebSocketClient Node

Connects to a WebSocket server when created and outputs the audio it receives. Each binary message is read as raw mono 32-bit float samples (native byte order, at the graph's sample rate) and queued; the output is silent while not enough audio is queued. Text messages are ignored. Input and output must be mono. Audio arriving on the input is currently not sent to the server.


Configuration​

url​

Type: String

Default: "ws://localhost:12324"

URL of the WebSocket server to connect to, such as ws://host:port. Defaults to ws://localhost:12324.


Properties​

Inherits properties from its parents, Node, SwitchboardObject.

This object does not provide any additional properties.


Actions​

Inherits actions from its parent, SwitchboardObject.

This object does not provide any additional actions.


Events​

This object does not provide any events.