From af8db122b755062d47c1943b3f9d392521955d38 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Sun, 10 Oct 2021 21:44:10 +0700 Subject: [PATCH] timidity: add page (#6908) --- pages/common/timidity.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/common/timidity.md diff --git a/pages/common/timidity.md b/pages/common/timidity.md new file mode 100644 index 000000000..18da7a918 --- /dev/null +++ b/pages/common/timidity.md @@ -0,0 +1,24 @@ +# timidity + +> TiMidity++ is a MIDI file player and convertor. +> More information: . + +- 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}}`