Latest LQ Deal: Latest LQ Deals
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 05-17-2009, 04:53 PM   #1
LQ Newbie
Registered: Mar 2005
Distribution: Debian Lenny
Posts: 24

Rep: Reputation: 0
Timidity and alsa problem


I have a problem with timidity. When I explicitly tell timidity to play a midi file, it works ok. Like this
$timidity midifile.mid
Requested buffer size 32768, fragment size 8192
ALSA pcm 'default' set buffer size 32768, period size 8192 bytes
Playing midifile.mid
MIDI file: midifile.mid
Format: 1  Tracks: 12  Divisions: 96
Track name: Flute
Track name: Organ
Track name: Harp
Track name: Solo Soprano
Track name: Solo Boy
Track name: Choir
Track name: Strings
Track name: August, 1994
Track name: Alan Chia
Track name:
Track name:
channel 16 => 0
channel 17 => 1
channel 18 => 2
channel 19 => 3
channel 20 => 4
channel 21 => 5
channel 22 => 6
But when I start timidity as an ALSA server, it doesn't want to play correctly. The command and the output is like this:
$timidity -iA -B2,8 -Os -EFreverb=0 2>&1 &
 Requested buffer size 2048, fragment size 1024
ALSA pcm 'default' set buffer size 2048, period size 680 bytes
TiMidity starting in ALSA server mode
Opening sequencer port: 128:0 128:1 128:2 128:3
I've tried Rosegarden and ScummVM games (Flight of the Amazon Queen and Beneath a Steel Sky). There are some sounds (in Rosegarden you can even recognize the note) but the static noise is making it unable to hear. Rosegarden is saying that it is using 128:0 port and ScummVM is configured to use this as well, but the results are frustrating.

If it were some timidity configuration problems, it wouldn't play midi files "normally", would it?

Can you advise where to look for the problem? I'm using PulseAudio as my sound server.


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
ALSA Timidity Amir Menesy Linux - General 4 11-21-2007 04:56 PM
No sound with Timidity++ server and ALSA. lcbest Linux - Software 2 06-11-2007 01:34 AM
how to use dosemu+alsa+timidity? efm Linux - Software 5 03-03-2007 11:00 AM
timidity as alsa sequencer Hyakutake Slackware 1 11-06-2006 08:10 PM
TiMidity++ ALSA interface dullard Linux - Newbie 0 07-29-2006 10:00 PM > Forums > Linux Forums > Linux - Software

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

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