The easiest way of playing a MIDI file in a basic Linux system?
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The easiest way of playing a MIDI file in a basic Linux system?
Slackware 14.0
Hi: that would be the question. I'd like to think one does not need 3rd-party software to play around with MIDI, precisely because of its old. If the answer is complicated, I can provide further data.
EDIT: as a matter of fact, alsa-utils package provides some support:
Code:
semoi@darkstar:~/sma_/info/clear$ apropos midi
amidi [] (1) - read from and write to ALSA RawMIDI ports
aplaymidi [] (1) - play Standard MIDI Files
arecordmidi [] (1) - record Standard MIDI Files
semoi@darkstar:~/sma_/info/clear$
The great pity is I do not have MPU401 output connector in the machine rear panel.
Your best bet is to check out timidity or fluidsynth. Both are available over at www.slackbuilds.org Yes its 3rd party software, but both are really easy to install and use.
I use TiMidity++ with eawpats (built using SlackBuilds from slackbuilds.org). Then you can just play MIDI files using `timidity file.mid`. MIDI may be old, but even on Windows systems playing MIDI files without dedicated hardware has always required some work (I don't know about more recent versions of Windows, though).
In another computer I do have MPU401 output connector. Do you know a command line, assuming ALSA is correctly installed, for sending a .mid file to the connector?
I use TiMidity++ with eawpats (built using SlackBuilds from slackbuilds.org). Then you can just play MIDI files using `timidity file.mid`. MIDI may be old, but even on Windows systems playing MIDI files without dedicated hardware has always required some work (I don't know about more recent versions of Windows, though).
Windows would be no problem for me, as I have an OPL3SA Yamaha card, and the Yamaha software to drive it. But I did not want to fall back on windows. This, on the machine I am not using.
Not exactly part of Slackware but if your copy of vlc is compiled with libfluidsynth and you have access to a soundfont vlc will play midi files well enough. Same for audacious...
what good sound cards work on linux for playing midi ( with patch-sets)? a long time ago i buyed Gravis Ultrasound PnP, put into it 5 Mb of RAM ( 30 pinn SIMM modules, not as easy to get), upload a sound bank and have a very beautiful midi music in duke nukem 3d, doom, etc... whats about something like that now in modern linux? old SB AWE32 / 64, modern creative soundcarts on PCI, who is recommended and work in that manner?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.