Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Distribution: I've already used Mandrake, Ubuntu, Vector Linux, and others, but now I use Slackware.
Posts: 4
Rep:
How can I play a midi file in Slackware?
I would like to know how I can play a midi file in Slackware command line.
I write "aplaymidi -p (port number) file.mid" and I see that it is working, but I can't hear anything.
As I have Windows XP in a computer and Windows 7 in another, I have to convert the midi files into wave files in order to listen to them in Slackware using play.
There is another thing that I haven't ever been able to do in spite of the fact that I have had Slackware installed in my computers since 2002, and this thing is: I have never been able to connect Internet using Slackware or any other Linux distribuition. So I would be grateful if you could help me. I like Linux very much but I am frustrated at not being able to do these two things: to play a midi file in Slackware and to connect Internet.
I hope to here from you soon.
There is aplaymidi, but timidity I think is the thing. Midi needs software support in the form of samples, and most of us have been turned off midi for life by the appaling m$ midi implementation.
A good thread is here. http://www.linuxquestions.org/questi...-files-667145/
Internet - start talking. What's the card (lspci line please), protocol? What happens when you run (as root)
dhcpcd eth0
Have you built your own kernel or are you on a stock one?
Distribution: I've already used Mandrake, Ubuntu, Vector Linux, and others, but now I use Slackware.
Posts: 4
Original Poster
Rep:
Quote:
Originally Posted by business_kid
There is aplaymidi, but timidity I think is the thing. Midi needs software support in the form of samples, and most of us have been turned off midi for life by the appaling m$ midi implementation.
A good thread is here. http://www.linuxquestions.org/questi...-files-667145/
Internet - start talking. What's the card (lspci line please), protocol? What happens when you run (as root)
dhcpcd eth0
Have you built your own kernel or are you on a stock one?
Dear Friend,
It's really a pity we can't play a MIDI sequence using a Linux distribution as easily as we do using any Windows OS. And we have to think about the fact that MIDI was invented for computers. Once an internaut told me about such samples. I looked for them and found them. I read everything about them but I wasn't able to make them work. So it's really easier to convert a MIDI file into an audio file and play it in a Linux distro. The only problem is that I will always have to use a Windows OS together with a Linux OS in my computer in order to be able to listen my music files in Linux. I wanted to simplify things and be able to choose one of the two systems. And I like command-line very much.
I'm gonna try what you say about Internet.
As to the kernel, no, I haven't built my own kernel, I'm still on a stock one. The one that I used to install Slackware in my computer. I prefer Slackware because of the command-line thing.
Last edited by fernandomelomedeiros; 05-22-2011 at 04:04 AM.
I have an audiophile in the house. The story is that the windows midi table is such pure unmitigated crap that it has damaged the midi format in people's minds beyond repair. Think of a symphony orchestra being filtered through a musical doorbell and you've got the idea :-/.
He uses/used midi files in great number for various projects, but never with the stock windows crap. He has access to Macs, and sophisticated & expensive windows software. Timidity knocks spots off the standard windows player, and is not difficult to set up.
I think timidity is dead (still works though). Better use fluidsynth as synthesizer. There are also plugins for most players, so midi can be played directly from vlc, audacious and so on. There is also a soundfont package, which contains the samples (fluid-soundfont or something ...).
Distribution: I've already used Mandrake, Ubuntu, Vector Linux, and others, but now I use Slackware.
Posts: 4
Original Poster
Rep:
Quote:
Originally Posted by business_kid
I have an audiophile in the house. The story is that the windows midi table is such pure unmitigated crap that it has damaged the midi format in people's minds beyond repair. Think of a symphony orchestra being filtered through a musical doorbell and you've got the idea :-/.
He uses/used midi files in great number for various projects, but never with the stock windows crap. He has access to Macs, and sophisticated & expensive windows software. Timidity knocks spots off the standard windows player, and is not difficult to set up.
Mr Business Kid,
Thank you very much for your tips about the process of playing a MIDI file through Slackware. I think I may have to reconsider my position concerning the MIDI sequences. Your comment about it made me realize that I may be enchanted by something that is not so enchanting. I like classical music. Mainly classical music by Bach. Concerning non-classical music I like the American country music in spite of the fact that I'm Brazilian and there are so many different rhythms over here. I have a Windows 7 and when I play one of the pieces for guitar by Bach I have on my computer I think it sounds wonderfully. But you say it is a crap and my son doesn't like it either. So I think there is something that must be considered. I may be losing something as to the quality of sound I'm getting. Well, if nobody can play a simple MIDI file using aplaymidi and this program is uselee, so why on earth have the Slackware people put it in the OS Slackware package? I don't really understand. I think there is no coherence in all this. Anyway I'll go on trying.
Distribution: I've already used Mandrake, Ubuntu, Vector Linux, and others, but now I use Slackware.
Posts: 4
Original Poster
Rep:
How to play MIDI file in Slackware.
Quote:
Originally Posted by almatic
I think timidity is dead (still works though). Better use fluidsynth as synthesizer. There are also plugins for most players, so midi can be played directly from vlc, audacious and so on. There is also a soundfont package, which contains the samples (fluid-soundfont or something ...).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.