Play custom waveform
dglab_play_custom_waveformCompile and play custom waveform segments—ramp, hold, pulse, silence—on a single channel with a 10-second cap, using a safe nonzero intensity without altering it.
Instructions
Compile and play semantic waveform segments (ramp, hold, pulse, silence) on one channel. Total duration is capped at 10000ms. Requires a safe nonzero intensity on the channel; never changes intensity.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"channel": "<channel>",
"segments": "<segments>"
},
"name": "dglab_play_custom_waveform"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slotId | No | Device slot id within the app. Omit when exactly one compatible device exists. | |
| channel | Yes | Output channel | |
| clientId | No | Paired app (controlled client) id. Omit when exactly one app is attached. | |
| segments | Yes | Waveform segments compiled in order. |