SMFPLAY(1)

πŸ“¦
version 1.5.0 Β· 2 versions
, in arch rolling, ubuntu resolute, ubuntu stonking

πŸ’– 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 external midi(4) device. so if the -i flag 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 πŸ•°οΈβœ¨
  • -g measure β€” Start playback at the given measure number. jump right in at the exact bar you want, no skips 🎯
  • -d filename β€” Default midi(4) device on which to play the midi file. and if you don't specify it, then the content of the MIDIDEV environment variable will be used instead. so like, either tell it or it'll go looking πŸ‘€
  • -i filename β€” Alternate input midi(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