Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 02-04-2004, 07:37 AM   #1
LQ Newbie
Registered: Jan 2004
Location: India
Distribution: Slackware, Redhat
Posts: 5

Rep: Reputation: 0
Playing MIDI files


I tried to play the .mid files on linux using Kmidi
It played but consimed a lot of CPU power ( just got hung at 100 % )
and also it missed some notes here and there
I tried to play the same file in windows.
It plays perfectly with all the notes and does not seem to consume
much CPU power ( just 1% here and there )

Why is it so ??

I have got a P4 with integrated Intel i810 soundcard on gigabyte motherboard ( AC 97 codecs ).

Old 02-05-2004, 04:46 AM   #2
Senior Member
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
There is more than one way to play midi files. I use the command line program 'timidity' which has quite a sophisticated software synthesizer and is supposed to be pretty CPU intensive as far as midi players go.

I just checked and CPU useage is 3%-4% on a 2.4GHz P4. If you are saturating the CPU there must be something wrong with your sound setup.

I've used kmid (not the same as kmidi, but it plays midi karaoke files) with ALSA, running timidity as a daemon to process the midi data. Kmid has a few problems. In particular it seems to interfere with KDE's artsd sound daemon in some strange ways.

Have a look around the KDE control center under sound, and maybe try killing or switching off artsd.

I don't really understand Linux sound too well, but usually get things to work by poking around enough.


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
What package for playing CD and midi file satimis Linux From Scratch 25 09-30-2005 09:57 PM
playing midi is harder to setup than it seems to be thinhla Linux - Software 4 07-02-2005 12:15 PM
Playing MIDI files under Mandrake KhmerDucky Linux - Software 1 06-09-2005 09:13 PM
Playing Midi in SuSE 9.2 Mic Q SUSE / openSUSE 5 01-12-2005 05:47 PM
How to play MIDI files: needed a MIDI mapper? vharishankar Linux - General 3 12-30-2004 12:12 AM

All times are GMT -5. The time now is 04:28 AM.

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