On Tue, Dec 11, 2001 at 08:04:55AM +0100, Uros Bizjak wrote: > > Here is a sample of what I obtain in the logs : > > > ALSA opl3_midi.c:318: Note on, ch 0, inst 0, note 21, vel 111 > > ALSA opl3_midi.c:378: --> OPL3 instrument: > > ALSA opl3_midi.c:437: --> setting OPL3 connection: 0x1 > > ALSA opl3_midi.c:472: --> programming operator 0 > > ALSA opl3_midi.c:472: --> programming operator 1 > > ALSA opl3_midi.c:472: --> programming operator 2 > > ALSA opl3_midi.c:472: --> programming operator 3 > > ALSA opl3_midi.c:552: --> trigger voice 0 > > ALSA opl3_midi.c:677: Note off, ch 0, inst 0, note 21 > > ALSA opl3_midi.c:640: --> kill voice 0 > > This means that sequencer _is_ sending data to OPL3 chip... It looks > like FM channel is still muted or music isn't routed to speakers. > > > [root@bonobo sbiload]# ./sbiload -v 1 -p 65:0 --opl3 std.o3 drums.o3 > > Loaded instrument 000, bank 000: Acoustic Grand > > > Is this normal that all OPL3 instruments are unnamed in > > /var/log/messages ? > > Yes. Actually, playmidi loads its own FM patches (thru opl3_oss.c > source, around line 200). (FYI: OSS patches go to ALSA bank 127). > Unfortunatelly, there is no name information in OSS FM patch. > > BTW: To use playmidi, you don't need sbiload to load patches. sbiload is > used only for pmidi or other native ALSA sequencers.
I tried to use the WSS emulation instead, with the sb8 module, and the fm is working fine in this mode (playmidi) :-) But the pcm sound is crappy :-( I noticed that changing OPL3_HW_OPL3_CS to OPL3_HW_AUTO when calling snd_opl3_create() in cards/card-cs4236.c forces the opl3 autodetection, and the autodetection in snd_opl3_detect() fails for my chipset : Dec 19 00:27:29 localhost kernel: ALSA opl3.c:128: OPL3: stat1 = 0xff Dec 19 00:27:29 localhost kernel: ALSA card-cs4236.c:486: CS4236+: OPL3 not detected (options snd-card-cs4236 snd_index=0 snd_id=CARD_0 snd_port=0x530 snd_cport=0x538 snd_fm_port=0x388 snd_sb_port=0x220 snd_irq=9 snd_dma1=1 snd_dma2=0 snd_mpu_port=0x330 snd_mpu_irq=10 snd_isapnp=0) [root@bonobo cards]# lspnp -v 0e 0f 10 11 0e CSC0100 multimedia controller: audio io 0x0530-0x0537 io 0x0388-0x038b io 0x0220-0x0233 irq 9 dma 1 dma 0 0f CSC0110 multimedia controller: audio io 0x0538-0x053f 10 CSC0101 multimedia controller: audio io 0x0200-0x0207 11 CSC0103 multimedia controller: audio io 0x0330-0x0333 irq 10 Is the opl3 autodetection supposed to fail for this chipset ? Is it possible to use the FM through the WSS emulation while using the regular cs4236 driver ? -- fabrice _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel