ferraus generate silence

Generate digital silence

Synopsis

ferraus generate silence [options]

What it does

Writes silence of the given duration (useful as padding or a fixture). Without -o the file is silence.wav in the current directory.

Examples

Two seconds of silence

ferraus generate silence -o gap.wav

Half a second of stereo silence

ferraus generate silence --dur 500ms --channels 2 -o gap.wav

Thirty seconds of silence as FLAC (the format follows the extension)

ferraus generate silence --dur 30s -o gap.flac

A minute of 16-bit, 44.1 kHz silence

ferraus generate silence --dur 1:00 --sample-rate 44100 --bit-depth 16 -o minute.wav

Options

FlagTypeDefaultMeaning
--durtime2sDuration

Global options

Every command also accepts the global options (-o, --json, --dry-run, --overwrite, --progress, ...). See Global options.

Exit codes

CodeMeaning
0Success
1Processing failed
2Usage or parameter error
3Input missing or unreadable
8Cancelled
70Internal error (bug)

Common mistakes

  • Beat-based times (4b, 1/4) need a tempo: pass --bpm or write 4b@120.

For models

  • MCP tool: ferraus_generate_silence
  • Schema: ferraus schema generate silence
  • Pipeline: { op: generate silence, args: { ... } } (flag names with _ instead of -)
  • fx stage: no
{"command": "generate silence", "defaults": {"dur": "2s"}}