Generate a silence file
generate_silence_fileCreate a 16-bit WAV file of digital silence at a set duration, sample rate and channel count. Use it for gaps, spacers between audio clips, or placeholder tracks on disk.
Instructions
Create a 16-bit WAV file of digital silence of a given length: room for a gap, a spacer between audio clips, or a placeholder track. Returns the new file's duration, sample rate and channels. To leave a gap in a sequence use insert_gap instead. 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_silence_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channels | No | 1 = mono, 2 = stereo. Default 2. | |
| duration | No | Length in seconds. Default 5. | |
| 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. |