Hello,

On Mon, Dec 10, 2001 at 12:56:50PM +0100, Uros Bizjak wrote:
>   playmidi could silently output notes to MPU401 interface. You
> should use playmidi -f (or playmidi -4) to force playing to FM synth.

I forced this options, and this didn't help.
> 
>   Also, you could #define DEBUG_MIDI at the beginning of
> alsa-driver/lowlevel/opl3_midi.c, and you will get all MIDI events
> for OPL3 chip logged in /var/log/messages.

Here is a sample of what I obtain in the logs :

ALSA opl3_midi.c:818: Controller, TYPE = 12, ch#: 0, inst#: 0
ALSA opl3_midi.c:818: Controller, TYPE = 12, ch#: 1, inst#: 0
ALSA opl3_midi.c:818: Controller, TYPE = 12, ch#: 2, inst#: 0
ALSA opl3_midi.c:818: Controller, TYPE = 12, ch#: 3, inst#: 0
ALSA opl3_midi.c:818: Controller, TYPE = 12, ch#: 4, inst#: 0
ALSA opl3_midi.c:818: Controller, TYPE = 12, ch#: 5, inst#: 0
ALSA opl3_midi.c:818: Controller, TYPE = 12, ch#: 6, inst#: 0
ALSA opl3_midi.c:818: Controller, TYPE = 12, ch#: 7, inst#: 0
ALSA opl3_midi.c:818: Controller, TYPE = 12, ch#: 8, inst#: 0
ALSA opl3_midi.c:818: Controller, TYPE = 12, ch#: 9, inst#: 0
ALSA opl3_midi.c:818: Controller, TYPE = 12, ch#: 10, inst#: 0
ALSA opl3_midi.c:818: Controller, TYPE = 12, ch#: 11, inst#: 0
ALSA opl3_midi.c:716: Key pressure, ch#: 0, inst#: 0
ALSA opl3_midi.c:716: Key pressure, ch#: 1, inst#: 0
ALSA opl3_midi.c:716: Key pressure, ch#: 2, inst#: 0
ALSA opl3_midi.c:716: Key pressure, ch#: 3, inst#: 0
ALSA opl3_midi.c:716: Key pressure, ch#: 4, inst#: 0
ALSA opl3_midi.c:716: Key pressure, ch#: 5, inst#: 0
ALSA opl3_midi.c:716: Key pressure, ch#: 6, inst#: 0
ALSA opl3_midi.c:716: Key pressure, ch#: 7, inst#: 0
ALSA opl3_midi.c:716: Key pressure, ch#: 8, inst#: 0
ALSA opl3_midi.c:716: Key pressure, ch#: 9, inst#: 0
ALSA opl3_midi.c:716: Key pressure, ch#: 10, inst#: 0
ALSA opl3_midi.c:716: Key pressure, ch#: 11, inst#: 0
ALSA opl3_midi.c:818: Controller, TYPE = 128, ch#: 0, inst#: 0
ALSA opl3_midi.c:818: Controller, TYPE = 10, ch#: 0, inst#: 0
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
ALSA opl3_midi.c:818: Controller, TYPE = 128, ch#: 1, inst#: 0
ALSA opl3_midi.c:818: Controller, TYPE = 10, ch#: 1, inst#: 0
ALSA opl3_midi.c:318: Note on, ch 1, inst 0, note 23, vel 111
ALSA opl3_midi.c:378:   --> OPL3 instrument: 
ALSA opl3_midi.c:437:   --> setting OPL3 connection: 0x3
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 1
ALSA opl3_midi.c:677: Note off, ch 1, inst 0, note 23
ALSA opl3_midi.c:640:   --> kill voice 1
ALSA opl3_midi.c:818: Controller, TYPE = 128, ch#: 2, inst#: 0
ALSA opl3_midi.c:818: Controller, TYPE = 10, ch#: 2, inst#: 0
ALSA opl3_midi.c:318: Note on, ch 2, inst 0, note 24, vel 111
ALSA opl3_midi.c:378:   --> OPL3 instrument: 
ALSA opl3_midi.c:437:   --> setting OPL3 connection: 0x7
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 2
ALSA opl3_midi.c:677: Note off, ch 2, inst 0, note 24
ALSA opl3_midi.c:640:   --> kill voice 2
ALSA opl3_midi.c:818: Controller, TYPE = 128, ch#: 3, inst#: 0
ALSA opl3_midi.c:818: Controller, TYPE = 10, ch#: 3, inst#: 0
ALSA opl3_midi.c:318: Note on, ch 3, inst 0, note 26, vel 111
ALSA opl3_midi.c:378:   --> OPL3 instrument: 
ALSA opl3_midi.c:437:   --> setting OPL3 connection: 0xf
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 9
ALSA opl3_midi.c:677: Note off, ch 3, inst 0, note 26
ALSA opl3_midi.c:640:   --> kill voice 9

[cut cut]

ALSA opl3_midi.c:818: Controller, TYPE = 128, ch#: 1, inst#: 0
ALSA opl3_midi.c:818: Controller, TYPE = 10, ch#: 1, inst#: 0
ALSA opl3_midi.c:318: Note on, ch 1, inst 0, note 21, vel 111
ALSA opl3_midi.c:378:   --> OPL3 instrument: 
ALSA opl3_midi.c:437:   --> setting OPL3 connection: 0x3f
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 1
ALSA opl3_midi.c:677: Note off, ch 1, inst 0, note 21
ALSA opl3_midi.c:640:   --> kill voice 1

Previously I loaded instruments with the following command :

[root@bonobo sbiload]# ./sbiload -v 1 -p 65:0 --opl3 std.o3 drums.o3
Loaded instrument 000, bank 000: Acoustic Grand  
Loaded instrument 001, bank 000: Bright Acoustic 
Loaded instrument 002, bank 000: Electric Grand Piano
Loaded instrument 003, bank 000: Honky-tonk      
Loaded instrument 004, bank 000: Rhodes Piano   
Loaded instrument 005, bank 000: Chorused Piano 
Loaded instrument 006, bank 000: Harpsichord
Loaded instrument 007, bank 000: Clavinet       
Loaded instrument 008, bank 000: Celesta
Loaded instrument 009, bank 000: Glockenspiel
Loaded instrument 010, bank 000: Musicbox
Loaded instrument 011, bank 000: Vibraphone
Loaded instrument 012, bank 000: Marimba        
Loaded instrument 013, bank 000: Xylophone
Loaded instrument 014, bank 000: Tubular Bells
Loaded instrument 015, bank 000: Dulcimer       
Loaded instrument 016, bank 000: Hammond Organ  
Loaded instrument 017, bank 000: Percussive Organ
Loaded instrument 018, bank 000: Rock Organ     
Loaded instrument 019, bank 000: Church Organ   
Loaded instrument 020, bank 000: Reed Organ     
 
[cut cut]

Loaded instrument 125, bank 000: Helicopter Blade
Loaded instrument 126, bank 000: Applause/Noise
Loaded instrument 127, bank 000: Gunshot        
000: wrong instrument key!
001: wrong instrument key!
002: wrong instrument key!
003: wrong instrument key!
 
[cut cut]
 
033: wrong instrument key!
034: wrong instrument key!
Loaded instrument 035, bank 128: Ac Bass Drum    
Loaded instrument 036, bank 128: Bass Drum 1     
Loaded instrument 037, bank 128: Side Stick      
Loaded instrument 038, bank 128: Acoustic Snare  
 
[cut cut]

Loaded instrument 079, bank 128: Open Cuica      
Loaded instrument 080, bank 128: Mute Triangle   
Loaded instrument 081, bank 128: Open Triangle   
082: wrong instrument key!
083: wrong instrument key!
084: wrong instrument key!
 
[cut cut]
 
125: wrong instrument key!
126: wrong instrument key!
127: wrong instrument key!

Is this normal that all OPL3 instruments are unnamed in
/var/log/messages ?

-- 
fabrice

_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to