ghostlan_audio_check
Samples a ghost's audio sink monitor using ffmpeg volumedetect to measure dB levels and detect silence in a virtual LAN.
Instructions
Sample ghostlan_sink.monitor via ffmpeg volumedetect to measure dB levels and detect silence
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": {
"lan": "<lan>",
"ghost": "<ghost>"
},
"name": "ghostlan_audio_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lan | Yes | Name of the virtual LAN | |
| ghost | Yes | Ghost name inside the LAN | |
| duration_sec | No | Sample duration in seconds (default 2) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_db | Yes | ||
| silent | Yes | ||
| mean_db | Yes | ||
| duration_sec | Yes |