ferraus midi transpose
Shift note pitches
Synopsis
ferraus midi transpose <input> [options] [-o <output>]
What it does
Moves notes by whole semitones. Channel 10 (drums) is left alone unless --include-drums; notes pushed outside 0-127 are dropped with a warning.
Examples
Up a whole step
ferraus midi transpose song.mid --semitones +2 -o up2.mid
Down an octave
ferraus midi transpose bass.mid --semitones -12st -o low.mid
Move only tracks 2 and 3 down a minor third; drums stay put
ferraus midi transpose song.mid --semitones -3 --tracks 2,3 -o lower.mid
Options
| Flag | Type | Default | Meaning |
|---|---|---|---|
--semitones | cents|semitones | — | Semitones to shift (+2, -12st); fractions round to the nearest semitone Required. |
--include-drums | flag | — | Also transpose channel 10 |
--tracks | list | — | 1-based track numbers to change, comma separated (default: every track) |
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 |
| 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_midi_transpose - Schema:
ferraus schema midi transpose - Pipeline:
{ op: midi transpose, args: { ... } }(flag names with_instead of-) - fx stage: no
{"command": "midi transpose", "defaults": {}}