ferraus denoise profile merge
Combine noise profiles from several takes into one
Synopsis
ferraus denoise profile merge <inputs...> [options] [-o <output>]
What it does
Merges two or more .noiseprof files learned at the same sample rate. --method max keeps the louder noise of every bin (removes the worst noise seen in any take); --method mean pools the statistics as if all the noise had been profiled at once.
Examples
Keep the louder noise of two takes in every band
ferraus denoise profile merge a.noiseprof b.noiseprof -o c.noiseprof
Average the room tone of three sessions
ferraus denoise profile merge day1.noiseprof day2.noiseprof day3.noiseprof --method mean -o room.noiseprof
One profile that covers the noisier of two microphones, with a JSON summary
ferraus denoise profile merge mic1.noiseprof mic2.noiseprof --method max -o both.noiseprof --json
Options
| Flag | Type | Default | Meaning |
|---|---|---|---|
--method | max | mean | max | max: per-bin maximum of mean and spread; mean: frame-weighted pooled statistics |
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 |
| 5 | Model not cached and downloads disabled |
| 6 | Model download or verification failed |
| 8 | Cancelled |
| 10 | Network error |
| 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_denoise_profile_merge - Schema:
ferraus schema denoise profile merge - Pipeline:
{ op: denoise profile merge, args: { ... } }(flag names with_instead of-) - fx stage: no
{"command": "denoise profile merge", "defaults": {"method": "max"}}