ferraus highpass
High-pass filter
Synopsis
ferraus highpass <input> [options] [-o <output>]
What it does
Removes content below --freq. --order 2 is 12 dB/oct; higher orders are Butterworth (6 dB/oct per order). --q shapes the corner of an order-2 filter (0.707 = flat Butterworth).
This command is also an fx stage and a pipeline op: ferraus fx in.wav -o out.wav --fx "highpass:key=value".
Examples
Remove rumble below 80 Hz
ferraus highpass vox.wav -o vox_hp.wav
Steep sub-sonic filter
ferraus highpass kick.wav --freq 30Hz --order 4 -o kick_clean.wav
Clear the low end for the bass, with a small bump at the corner
ferraus highpass guitar.wav --freq 120Hz --q 1.2 -o guitar_hp.wav
Remove desk thumps and air-conditioning rumble from a batch of recordings
ferraus highpass episodes/*.wav --freq 70Hz --outdir hp/
Options
| Flag | Type | Default | Meaning |
|---|---|---|---|
--freq | frequency | 80Hz | Corner frequency |
--order | integer | 2 | Filter order (2 = 12 dB/oct, 4 = 24 dB/oct) Range: 1..8. |
--q | number | 0.707 | Resonance of an order-2 filter |
--mix | percent | 100% | Dry/wet balance: 0% returns the input unchanged, 100% is fully processed |
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.
For models
- MCP tool:
ferraus_highpass - Schema:
ferraus schema highpass - Pipeline:
{ op: highpass, args: { ... } }(flag names with_instead of-) - fx stage: yes
{"command": "highpass", "defaults": {"freq": "80Hz", "order": "2", "q": "0.707", "mix": "100%"}}