2025-03-14 21:59:59 -06:00
|
|
|
# timidity
|
|
|
|
|
|
|
|
|
|
> Play and convert MIDI files.
|
2025-12-16 10:20:31 -07:00
|
|
|
> More information: <https://manned.org/timidity>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Play a MIDI file:
|
|
|
|
|
|
|
|
|
|
`timidity {{path/to/file.mid}}`
|
|
|
|
|
|
|
|
|
|
- Play a MIDI file in a loop:
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`timidity {{[--l|--loop]}} {{path/to/file.mid}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Play a MIDI file in a specific key (0 = C major/A minor, -1 = F major/D minor, +1 = G major/E minor, etc.):
|
|
|
|
|
|
|
|
|
|
`timidity --force-keysig={{-flats|+sharps}} {{path/to/file.mid}}`
|
|
|
|
|
|
|
|
|
|
- Convert a MIDI file to PCM (WAV) audio:
|
|
|
|
|
|
|
|
|
|
`timidity --output-mode={{w}} --output-file={{path/to/file.wav}} {{path/to/file.mid}}`
|
|
|
|
|
|
|
|
|
|
- Convert a MIDI file to FLAC audio:
|
|
|
|
|
|
|
|
|
|
`timidity --output-mode={{F}} --output-file={{path/to/file.flac}} {{path/to/file.mid}}`
|