LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-30-2009, 01:01 PM   #1
newbiesforever
Senior Member
 
Registered: Apr 2006
Distribution: not disclosing my distro
Posts: 2,254

Rep: Reputation: 109Reputation: 109
MIDI players?


What do you recommend for a MIDI player that just works? I've already tried KMid, but it plays my MIDI files with no audio. I found a decent MIDI player once, but I lost it the last time I reinstalled my distro, and can't remember what it was called. Notwithstanding that, probably my oldest unresolved problem with Linux is my inability to play my MIDI collection.
 
Old 10-30-2009, 02:00 PM   #2
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292
I use fluidsynth:
http://fluidsynth.resonance.org/trac

All you need are some soundfonts, like:
http://www.personalcopy.com/home.htm

then just run:

Code:
fluidsynth Unison.sf2 file.mid
 
Old 10-30-2009, 03:00 PM   #3
newbiesforever
Senior Member
 
Registered: Apr 2006
Distribution: not disclosing my distro
Posts: 2,254

Original Poster
Rep: Reputation: 109Reputation: 109
What is a soundfont?
 
Old 10-30-2009, 03:32 PM   #4
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292
Well, it contains the pre-recorded sounds that are needed to interpret a midi file. Higher quality soundfonts make for nicer sounding midi files. But, of course, some do cost money.

There's also some here:
http://fluidsynth.resonance.org/trac/wiki/SoundFont

Last edited by H_TeXMeX_H; 10-30-2009 at 03:33 PM.
 
Old 11-04-2009, 08:58 PM   #5
newbiesforever
Senior Member
 
Registered: Apr 2006
Distribution: not disclosing my distro
Posts: 2,254

Original Poster
Rep: Reputation: 109Reputation: 109
Ah...so if the midi file playback is missing an instrument (or just plain sounds awful), it could be a lack of soundfonts? I thought I should blame it on either the midi player (I'm trying Timidity right now) or my sound card.

I don't know...I think my MIDI collection definitely sounded best on the used 486 that I had from 1998-2004.

Last edited by newbiesforever; 11-04-2009 at 09:16 PM.
 
Old 11-05-2009, 12:44 PM   #6
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292
Yes, if it sounds unusual, I would look for better soundfonts. Now, other factors may come into play, but in this case soundfonts would be the most likely cause.
 
Old 11-05-2009, 01:11 PM   #7
newbiesforever
Senior Member
 
Registered: Apr 2006
Distribution: not disclosing my distro
Posts: 2,254

Original Poster
Rep: Reputation: 109Reputation: 109
I looked up free soundfonts, and learned that there seem to be different ones for each instrument and even for different sound effects. I don't recall ever hearing a sound effect in a MIDI file, but since my files must have any number of instruments, don't I need to download at least one soundfont for every instrument?
 
Old 11-05-2009, 03:05 PM   #8
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292
Usually one soundfont includes many instruments, so no, not one for every instrument.
 
Old 11-05-2009, 08:17 PM   #9
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873
$ timidity file.mid

$ pmidi file.mid

You'll need soundfonts in most cases, because modern soundcards lack native midi support.

# apt-get install freepats timidity

And your distro might not configure things how you like to start with. For timidity, you'll need to adjust /etc/timidity/timidity.cfg. Or at least I did.

$ echo "source /etc/timidity/freepats.cfg" >> /etc/timidity/timidity.cfg

And there's a few other soundfonts / pats out there. Not always complete sets of soundfonts and some concerns of copyrights with some of them.

If you lack timidity and/or soundfonts on your system it might explain you're lack of joy in the audio realm. You might also need to have your soundcard configured with sequencer support. Depending on how you use midi on your system.
 
  


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
Alternative software for MIDI and AVI/Quicktime players? EsAsher Linux - Software 2 07-01-2007 02:30 PM
MIDI playback through midi keyboad. akihandyman Linux - Newbie 5 05-25-2005 01:37 AM
How to play MIDI files: needed a MIDI mapper? vharishankar Linux - General 3 12-30-2004 12:12 AM
Set up midi device in suse 9.1 w/ AC'97 midi controller Guitarist88 Linux - Hardware 1 07-06-2004 03:09 PM
MIDI sound players F*SH Linux - General 1 06-20-2004 06:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:28 PM.

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
Open Source Consulting | Domain Registration