LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How can I play a midi file in Slackware? (https://www.linuxquestions.org/questions/linux-newbie-8/how-can-i-play-a-midi-file-in-slackware-879777/)

fernandomelomedeiros 05-10-2011 01:57 AM

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.

business_kid 05-10-2011 02:58 AM

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?

fernandomelomedeiros 05-22-2011 04:00 AM

Quote:

Originally Posted by business_kid (Post 4351799)
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.

business_kid 05-23-2011 04:28 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.

almatic 05-23-2011 06:55 AM

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 ...).

fernandomelomedeiros 05-25-2011 10:46 AM

Quote:

Originally Posted by business_kid (Post 4364324)
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.

fernandomelomedeiros 05-25-2011 10:54 AM

How to play MIDI file in Slackware.
 
Quote:

Originally Posted by almatic (Post 4364443)
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 ...).

Mr Almatic,

Thank you for the tip. I'll try this too.

So long.


All times are GMT -5. The time now is 08:05 AM.