Skip to contentSkip to conversation

: can't play MIDI through ALSA / MPU-401 but non-ALSA "midiplayer" to MIDI device works

ALSA - driver 0000349 [email protected] 1 participant 1 message Aug 29, 2005

lore
Share & tools
lore
#0 lore raw

A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=349>
======================================================================
Reported By: amarsh04
Assigned To:
======================================================================

Project:                    ALSA - driver
Issue ID:                   349
Category:                   ISA - sb16/sbawe
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     acknowledged
Distribution:               Debian
Kernel Version:             2.6.5-1 (problem also showed with 2.4.24)
======================================================================
Date Submitted:             06-29-2004 07:58 CEST
Last Modified:              08-29-2005 06:23 CEST

======================================================================
Summary: can't play MIDI through ALSA / MPU-401 but non-ALSA
"midiplayer" to MIDI device works
Description:
With ISA SB16 PNP, aplaymidi -l reports:
Port Client name Port name

 64:0    Sound Blaster 16 MIDI - Rawmidi  Sound Blaster 16 MIDI
 65:0    OPL3 FM synth                    OPL3 FM Port

Neither
aplaymidi -p 64:0 myfile.mid
nor
aplaymidi -p 65:0 myfile.mid
work, but the non-ALSA "midiplayer" works playing directly to the MIDI device:

playmidi -v -D0 myfile.mid

======================================================================

----------------------------------------------------------------------
tiwai - 04-12-05 16:38
----------------------------------------------------------------------
What do you mean exactly "can't play MIDI"? Did you get any error messages?

----------------------------------------------------------------------
amarsh04 - 08-29-05 06:23
----------------------------------------------------------------------
Still trying to identify the problem. alsamixer reports a CTL1745 chip.

aplaymidi -l

reports:

 Port    Client name                      Port name
 62:0    Midi Through                     Midi Through Port-0
 64:0    Sound Blaster 16 MIDI            Sound Blaster 16 MIDI
 65:0    OPL3 FM synth                    OPL3 FM Port

aplaymidi --port=64:0 somefile.mid

apparently runs but gives silence

after trying some other midi programs, I get playmidi to partially work:

playmidi -r somefile.mid

reports correct instruments, but doesn't give a good sound.

playmidi -r -p 64:0 somefile.mid

reports all instruments as "Syn.Brass 2" and all channels sound like "Syn.Brass 2"

playmidi -r -p 65:0 somefile.mid

reports all instruments as "Soprano Sax" and all channels sound like "Soprano Sax"

It's as if the sysex messages are being mis-interpreted although the note events are getting through ok.

Could amidi be used to send and receive some debugging information

Running current Debian Unstable ALSA 1.0.9a

uname -a reports:

Linux symone 2.6.12-1-386 #1 Tue Aug 16 21:23:21 UTC 2005 i586 GNU/Linux

Issue History
Date Modified Username Field Change
======================================================================

06-29-04 07:58 amarsh04       New Issue                                    
06-29-04 07:58 amarsh04       Distribution              => Debian          
06-29-04 07:58 amarsh04       Kernel Version            => 2.6.5-1 (problem also
showed with 2.4.24)
04-07-05 20:57 jdthood        Note Added: 0004365                          
04-10-05 07:54 amarsh04       Note Added: 0004434                          
04-10-05 09:53 jdthood        Status                   new => acknowledged 
04-12-05 16:38 tiwai          Note Added: 0004450                          
08-29-05 06:23 amarsh04       Note Added: 0005964                          

======================================================================

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf