LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-16-2004, 01:06 AM   #1
sulfa
LQ Newbie
 
Registered: Sep 2004
Distribution: Debian/RH
Posts: 13

Rep: Reputation: 0
ALSA MIDI on Debian Sarge


Hi,

My machine is a Dell Inspiron XPS running Debian Sarge, stock kernel 2.4.25. I have successfully installed ALSA and configured it to work on my Intel ICH5 sound card (snd-intel8x0 module). Everything runs as it should except MIDI.

I installed pmidi and used it to check my available MIDI ports:
Code:
pmidi -l
Port     Client name                       Port name
64:0     Intel ICH5 MIDI - Rawmidi 0       Intel ICH5 MIDI
So, I ran:
Code:
pmidi -p 64:0 MIDIFILE.mid
There was no sound, and eventually the process terminated. I have done some testing, and observed that pmidi will stop earlier on shorter songs - this indicates that the file is indeed playing, but ALSA is encountering some interference, maybe with another module.

Here's the relevant slice of lsmod:
Code:
snd-seq-midi            3232   1  (autoclean)
snd-seq-oss            23104   0  (autoclean)
snd-seq-midi-event      2960   0  (autoclean) [snd-seq-midi snd-seq-oss]
snd-seq                36048   4  (autoclean) [snd-seq-midi snd-seq-oss snd-seq-midi-event]
snd-intel8x0           17320   1
snd-ac97-codec         39804   0  [snd-intel8x0]
snd-pcm-oss            36420   0
snd-mixer-oss          11384   0  [snd-pcm-oss]
snd-pcm                54656   0  [snd-intel8x0 snd-pcm-oss]
snd-timer              13860   0  [snd-seq snd-pcm]
snd-page-alloc          5488   0  [snd-intel8x0 snd-pcm]
gameport                1452   0  [snd-intel8x0]
snd-mpu401-uart         2880   0  [snd-intel8x0]
snd-rawmidi            11904   0  [snd-seq-midi snd-mpu401-uart]
snd-seq-device          3620   0  [snd-seq-midi snd-seq-oss snd-seq snd-rawmidi]snd                    28804   0  [snd-seq-midi snd-seq-oss snd-seq-midi-event snd-seq snd-intel8x0 snd-ac97-codec snd-pcm-oss snd-mixer-oss snd-pcm snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore               3492   8  [snd]
I'm pretty sure ALSAmixer is set correctly, too. There isn't a special control for MIDI sound, is there?

I have installed Timidity too, and it works great, but I really need actual MIDI support. Any ideas?
 
Old 12-16-2004, 03:21 PM   #2
sulfa
LQ Newbie
 
Registered: Sep 2004
Distribution: Debian/RH
Posts: 13

Original Poster
Rep: Reputation: 0
Bizarre

Now, this is bizarre...

I coded up a quick MIDI player in Java (it's no big feat, Java's MIDI library is breathtakingly easy to work with) on my other machine, where MIDI already works.

I installed the player on my Debian box and MIDI works perfectly. So I guess the problem is with pmidi. Does anyone know why pmidi would fail? Maybe it uses a different soundfont by default? I'm a newbie at MIDI :P

Thanks,
Greg
 
  


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
sarge debian alsa sound problem lvgandhi Debian 3 06-11-2005 12:35 PM
Debian Sarge alsa lib update broke gstreamer HalfDiminished Debian 2 05-18-2005 09:32 AM
Keeping ALSA Config in Debian Sarge pharcyde Linux - Newbie 2 04-01-2005 01:28 PM
ALSA: No sound [Debian Sarge, stock 2.4.25, ICH5] sulfa Linux - Software 5 12-06-2004 06:30 AM
Alsa on Debian sarge with AC97 LovingIt Linux - Hardware 2 10-23-2004 06:30 AM


All times are GMT -5. The time now is 09:30 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration