LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 05-10-2011, 01:57 AM   #1
fernandomelomedeiros
LQ Newbie
 
Registered: May 2011
Location: Praia Grande, São Paulo State, Brazil
Distribution: I've already used Mandrake, Ubuntu, Vector Linux, and others, but now I use Slackware.
Posts: 4

Rep: Reputation: 0
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.
 
Old 05-10-2011, 02:58 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 8,132

Rep: Reputation: 815Reputation: 815Reputation: 815Reputation: 815Reputation: 815Reputation: 815Reputation: 815
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?
 
1 members found this post helpful.
Old 05-22-2011, 04:00 AM   #3
fernandomelomedeiros
LQ Newbie
 
Registered: May 2011
Location: Praia Grande, São Paulo State, Brazil
Distribution: I've already used Mandrake, Ubuntu, Vector Linux, and others, but now I use Slackware.
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by business_kid View Post
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.
 
Old 05-23-2011, 04:28 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 8,132

Rep: Reputation: 815Reputation: 815Reputation: 815Reputation: 815Reputation: 815Reputation: 815Reputation: 815
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.
 
1 members found this post helpful.
Old 05-23-2011, 06:55 AM   #5
almatic
Member
 
Registered: Mar 2007
Distribution: Debian
Posts: 547

Rep: Reputation: 67
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 ...).
 
1 members found this post helpful.
Old 05-25-2011, 10:46 AM   #6
fernandomelomedeiros
LQ Newbie
 
Registered: May 2011
Location: Praia Grande, São Paulo State, Brazil
Distribution: I've already used Mandrake, Ubuntu, Vector Linux, and others, but now I use Slackware.
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by business_kid View Post
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.
 
Old 05-25-2011, 10:54 AM   #7
fernandomelomedeiros
LQ Newbie
 
Registered: May 2011
Location: Praia Grande, São Paulo State, Brazil
Distribution: I've already used Mandrake, Ubuntu, Vector Linux, and others, but now I use Slackware.
Posts: 4

Original Poster
Rep: Reputation: 0
How to play MIDI file in Slackware.

Quote:
Originally Posted by almatic View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can't I play a midi file in linux? irfanhab Linux - General 1 06-25-2005 07:32 AM
I need to play midi files... trey85stang Linux - Software 2 02-27-2005 11:06 AM
How to play MIDI files: needed a MIDI mapper? vharishankar Linux - General 3 12-30-2004 12:12 AM
how to play midi file salahuddin_66 Slackware 6 05-12-2004 05:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration