Focus sound command
focus_soundA ready, safe command to make plain brown, pink or white noise of a chosen length with a fade in and out: ffmpeg, plus a SoX alternative, with one line on what each flag does. The command writes one audio file in the current folder; no downloads, no pipes, no administrator rights.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "focus_sound"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| colour | No | Noise colour (default brown) | |
| format | No | Output format for ffmpeg (default m4a) | |
| volume | No | Noise amplitude, 0.05 to 1 (default 0.5) | |
| minutes | No | Length in minutes, 1 to 720 (default 60) | |
| fade_seconds | No | Fade in and fade out, seconds, 0 to 120 (default 10) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sox | Yes | ||
| file | Yes | ||
| flags | Yes | ||
| ffmpeg | Yes | ||
| sox_file | Yes | ||
| approx_size_mb | Yes |