Generate a tone file
generate_tone_fileCreate a 24-bit WAV sine tone with chosen frequency, duration, channels and peak level for reference leaders, bleeps, or test audio; returns file specs and writes via ffmpeg on disk.
Instructions
Create a 24-bit WAV file with a sine tone of a given frequency, length and peak level: reference tone for leaders, a bleep to cover a word, or test audio. Returns the new file's duration, sample rate, channels, frequency and level_db. Works on the file on disk with ffmpeg, not on the timeline; Premiere Pro is not needed. ffmpeg and ffprobe must be installed (see check_ffmpeg), else FFMPEG_NOT_FOUND.
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": {
"output_path": "<output_path>"
},
"name": "generate_tone_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channels | No | 1 = mono, 2 = stereo (same tone on both). Default 2. | |
| duration | No | Length in seconds. Default 5. | |
| level_db | No | Peak level in dBFS. Default -18. | |
| frequency | No | Tone frequency in Hz. Default 1000. | |
| overwrite | No | Replace output_path if it already exists. Default false: an existing file makes the tool fail with FILE_EXISTS. | |
| output_path | Yes | Absolute path of the WAV file to write (.wav only). | |
| sample_rate | No | Sample rate in Hz. Default 48000. | |
| timeout_seconds | No | Stop ffmpeg and fail with TIMEOUT after this many seconds. Default 300. |