timidity

A MIDI file player and converter. More information: <http://timidity.sourceforge.net>.

Install

All systems
curl cmd.cat/timidity.sh
Debian Debian
apt-get install timidity
Ubuntu
apt-get install timidity
Arch Arch Linux
pacman -S timidity
image/svg+xml Kali Linux
apt-get install timidity
Fedora
dnf install timidity
Windows (WSL2)
sudo apt-get update sudo apt-get install timidity
OS X
brew install timidity
Raspbian
apt-get install timidity

A MIDI file player and converter. 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

© tl;dr; authors and contributors