timidity: add page (#6908)

beep
Daniil Baturin 2021-10-10 21:44:10 +07:00 committed by GitHub
parent c5f66ba9b9
commit af8db122b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 24 additions and 0 deletions

24
pages/common/timidity.md Normal file
View File

@ -0,0 +1,24 @@
# timidity
> TiMidity++ is a MIDI file player and convertor.
> More information: <http://timidity.sourceforge.net>.
- Play a MIDI file:
`timidity {{path/to/file.mid}}`
- Play a MIDI file in a loop:
`timidity --loop {{path/to/file.mid}}`
- 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}}`