SMFPLAY(1)
π SMFPLAY(1) β the general commands manual bestie edition π
okay so real talk, this is the General Commands Manual page for smfplay(1), and it's literally about playing MIDI files. that's the whole vibe. let's get into it π
β¨ NAME β¨
smfplay β play a standard MIDI file πΉβ¨
π¦ SYNOPSIS π¦
smfplay [-mxy] [-g measure] [-d devname] [-i devname] midifile
πΈ DESCRIPTION πΈ
so the smfplay utility plays a MIDI file. that's it, that's the main character energy π
while it's playing, it can route events from one midi(4) device to another. and to stop the performance, you send an interrupt signal to smfplay β for instance by pressing control ^C on the terminal. bestie, that's your stop button, no cap π
the options are as follows:
-mβ Use metronome. and the metronome is smart fr fr, it will follow tempo changes and time signature changes in the midi file. obsessed ππ΅-xβ Synchronise to an externalmidi(4)device. so if the-iflag is used then playback will be synchronised to the input device, else it will be synchronised to the default device. iykyk π-yβ Send midi timing information to the default device. this one's useful if the output device is a slave MIDI sequencer. very niche, very iconic π°οΈβ¨-gmeasure β Start playback at the given measure number. jump right in at the exact bar you want, no skips π―-dfilename β Defaultmidi(4)device on which to play the midi file. and if you don't specify it, then the content of theMIDIDEVenvironment variable will be used instead. so like, either tell it or it'll go looking π-ifilename β Alternate inputmidi(4)device. Voice events (notes, controllers, etc) received on the input device will be sent as-is to the default device. and without this flag, the default device will be used for input. as-is means as-is, no editing, no remixing ποΈ
the smfplay utility is an interface to midish(1). so if more specific features are needed, the user may consider using midish(1). like, smfplay is the cute accessible front door and midish(1) is the whole mansion, periodt π π
π EXAMPLES π
the following will play mysong.mid on device /dev/rmidi4 and will use metronome. not me writing a whole concert setup in one line π
$ smfplay -m -d /dev/rmidi4 mysong.mid
π SEE ALSO π
midiplay(1), midish(1), smfrec(1), midi(4)
go read those too bestie, they're all part of the same little family π«Ά
heads up: if you ever want it to stop, that interrupt signal (^C) is the move. don't just walk away from a performance mid-song, that's rude to the metronome π
and that's the whole page!! this one came from Debian, dated August 22, 2005 β yeah it's vintage, it's still serving though, and yes it's still SMFPLAY(1). stay slaying, midi bestie πΉπβ¨
π¦ where this page comes from
- arch rolling: midish 1.5.0-1 Β· 0BSD
- ubuntu resolute: midish 1.4.0-1 Β· BSD-2-Clause
- ubuntu stonking: midish 1.4.0-1 Β· BSD-2-Clause
- Copyright (c) 2003-2010 Alexandre Ratchov <alex@caoua.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms