ferraus center
Extract or remove centre-panned material (vocals, dialogue)
Synopsis
ferraus center <input> [options] [-o <output>]
What it does
Compares the left and right spectra bin by bin: bins whose level balance matches --pan within --width and whose inter-channel phase is within --phase-tolerance are treated as centre material. 'extract' keeps them, 'remove' takes them out (the quick karaoke tool). Only --freq is affected. separate is the higher-quality path.
This command is also an fx stage and a pipeline op: ferraus fx in.wav -o out.wav --fx "center:key=value".
Examples
Quick karaoke: remove the centre vocal
ferraus center song.wav --mode remove -o karaoke.wav
Pull out the centre vocal band
ferraus center song.wav --mode extract --freq 200Hz..6kHz -o vocal.wav
Turn the lead vocal down instead of removing it completely
ferraus center song.wav --mode remove --mix 70% -o vocal_down.wav
Extract an instrument panned 40% left
ferraus center song.wav --mode extract --pan -40 --width 15% -o left_gtr.wav
Options
| Flag | Type | Default | Meaning |
|---|---|---|---|
--mode | extract | remove | extract | Keep the centre (extract) or remove it |
--pan | number | 0 | Position of the material to target (-100 left .. 0 centre .. 100 right) Range: -100..100. |
--phase-tolerance | text | 5deg | Inter-channel phase difference still counted as centre (degrees) |
--width | percent | 20% | Pan tolerance around --pan, in percent of the full left-right range |
--freq | text | 120Hz..8kHz | Frequency range to act on (low..high) |
--mix | percent | 100% | Dry/wet balance: 0% returns the input unchanged |
Global options
Every command also accepts the global options (-o, --json, --dry-run, --overwrite, --progress, ...). See Global options.
Exit codes
| Code | Meaning |
|---|---|
| 0 | Success |
| 1 | Processing failed |
| 2 | Usage or parameter error |
| 3 | Input missing or unreadable |
| 4 | Unsupported format or codec |
| 8 | Cancelled |
| 70 | Internal error (bug) |
Common mistakes
- Forgetting that outputs are never overwritten: pass
--overwriteor a new-opath when re-running. - Percentages accept
80%or the fraction0.8; a bare80means 80x, not 80%.
For models
- MCP tool:
ferraus_center - Schema:
ferraus schema center - Pipeline:
{ op: center, args: { ... } }(flag names with_instead of-) - fx stage: yes
{"command": "center", "defaults": {"mode": "extract", "pan": "0", "phase_tolerance": "5deg", "width": "20%", "freq": "120Hz..8kHz", "mix": "100%"}}