slack12+AW744 Audio Card+ymfpci = no midi sound - Slackware

This is a discussion on slack12+AW744 Audio Card+ymfpci = no midi sound - Slackware ; Hi, I'm can't play midi files on Slack 12.0. Other sound is OK. midi played OK with same soundcard on Slack 10 with 2.4 kernel. Can anyone help? I suspect I have missed some simple, but vital, configuration parameter somewhere. ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: slack12+AW744 Audio Card+ymfpci = no midi sound

  1. slack12+AW744 Audio Card+ymfpci = no midi sound

    Hi,

    I'm can't play midi files on Slack 12.0. Other sound is OK.
    midi played OK with same soundcard on Slack 10 with 2.4 kernel.
    Can anyone help?
    I suspect I have missed some simple, but vital, configuration parameter
    somewhere.
    Listed below are what I have configured, and some relevant listings.
    Sorry it's rather long...

    (Also - several times the PC has frozen whilst trying to play midi - with
    kmid, aplaymidi and pmidi. Lockup is not consistent. Nothing in any
    logfiles. At present the lockup has gone away!)

    Kernel: 2.6.21.5-smp Soundcard:AOpen AW744 4 ch PCI Audio Card

    In AlsaMixer [Playback] nothing is muted and everything possible is at
    100%.
    I just hear hiss.

    After "playing" a 3 minutes long midi file I can see that some bytes have
    been sent to midi0
    > cat /proc/asound/card0/midi0 && \
    > aplaymidi -p 16:0 Apache_-Jorgan_Ingmann.mid &&\
    > date && \
    > cat /proc/asound/card0/midi0

    Sat Aug 11 11:44:43 BST 2007
    Yamaha DS-1S (YMF744) MIDI
    Output 0
    Tx bytes : 73445
    Input 0
    Rx bytes : 0
    Sat Aug 11 11:47:43 BST 2007
    Yamaha DS-1S (YMF744) MIDI
    Output 0
    Tx bytes : 105439
    Input 0
    Rx bytes : 0

    aplaymidi -l
    Port Client name Port name
    14:0 Midi Through Midi Through Port-0
    16:0 Yamaha DS-1S (YMF744) Yamaha DS-1S (YMF744) MIDI

    ls -l /var/log/packages/ | grep alsa
    -rw-r--r-- 1 root root 5113 2007-07-04 00:04 alsa-lib-1.0.14a-i486-1
    -rw-r--r-- 1 root root 1094 2007-07-04 00:04 alsa-oss-1.0.14-i486-1
    -rw-r--r-- 1 root root 2645 2007-07-03 23:59 alsa-utils-1.0.14-i486-1

    cat ~/.asoundrc
    pcm.ymfpci {
    type hw
    card 0
    }

    ctl.ymfpci {
    type hw
    card 0
    }

    cat /etc/modprobe.d/sound
    alias snd-card-0 snd-ymfpci
    alias sound-slot-0 snd-ymfpci
    options snd-ymfpci mpu_port=0x330

    cat /proc/asound/cards
    0 [YMF744 ]: YMF744 - Yamaha DS-1S (YMF744)
    Yamaha DS-1S (YMF744) at 0xe7000000, irq 12

    aconnect -o
    client 14: 'Midi Through' [type=kernel]
    0 'Midi Through Port-0'
    client 16: 'Yamaha DS-1S (YMF744)' [type=kernel]
    0 'Yamaha DS-1S (YMF744) MIDI'

    lspci | grep 744
    00:0b.0 Multimedia audio controller: Yamaha Corporation YMF-744B [DS-1S
    Audio Controller] (rev 02)

    date && ls -l /dev/midi
    Sat Aug 11 10:05:35 BST 2007
    crw-rw---- 1 root audio 14, 2 2007-08-11 10:38 /dev/midi
    !!!Strange - why is /dev/midi datestamped in the future???

    lsmod | grep snd
    snd_seq_midi 10272 0
    snd_seq_dummy 6788 0
    snd_seq_oss 32896 0
    snd_seq_midi_event 10112 2 snd_seq_midi,snd_seq_oss
    snd_seq 50640 6
    snd_seq_midi,snd_seq_dummy,snd_seq_oss,snd_seq_mid i_event
    snd_pcm_oss 42784 0
    snd_mixer_oss 18048 1 snd_pcm_oss
    snd_ymfpci 59584 1
    gameport 15112 1 snd_ymfpci
    snd_ac97_codec 98980 1 snd_ymfpci
    ac97_bus 6016 1 snd_ac97_codec
    snd_pcm 72068 3 snd_pcm_oss,snd_ymfpci,snd_ac97_codec
    snd_opl3_lib 12288 1 snd_ymfpci
    snd_timer 22532 4 snd_seq,snd_ymfpci,snd_pcm,snd_opl3_lib
    snd_hwdep 10628 1 snd_opl3_lib
    snd_page_alloc 11528 2 snd_ymfpci,snd_pcm
    snd_mpu401_uart 10496 1 snd_ymfpci
    snd_rawmidi 22560 2 snd_seq_midi,snd_mpu401_uart
    snd_seq_device 10508 6
    snd_seq_midi,snd_seq_dummy,snd_seq_oss,snd_seq,snd _opl3_lib,snd_rawmidi
    snd 47204 15
    snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_ ymfpci,snd_ac97_codec,
    snd_pcm,snd_opl3_lib,snd_timer,snd_hwdep,snd_mpu40 1_uart,snd_rawmidi,
    snd_seq_device
    soundcore 9824 1 snd

    cat /proc/asound/oss/sndstat
    Sound Driver:3.8.1a-980706 (ALSA v1.0.14rc3 emulation code)
    Kernel: Linux dad 2.6.21.5-smp #2 SMP Tue Jun 19 14:58:11 CDT 2007 i686
    Config options: 0
    Installed drivers:
    Type 10: ALSA emulation
    Card config:
    Yamaha DS-1S (YMF744) at 0xe7000000, irq 12
    Audio devices:
    0: YMFPCI (DUPLEX)
    Synth devices: NOT ENABLED IN CONFIG
    Midi devices:
    0: Yamaha DS-1S (YMF744) MIDI
    Timers:
    7: system timer
    Mixers:
    0: SigmaTel STAC9708,11

    cat /proc/asound/devices
    0: [ 0] : control
    1: : sequencer
    8: [ 0- 0]: raw midi
    16: [ 0- 0]: digital audio playback
    17: [ 0- 1]: digital audio playback
    18: [ 0- 2]: digital audio playback
    24: [ 0- 0]: digital audio capture
    27: [ 0- 3]: digital audio capture
    33: : timer

    ls -l /dev/snd
    total 0
    crw-rw-rw- 1 root audio 116, 0 2007-08-11 10:38 controlC0
    crw-rw-rw- 1 root audio 116, 8 2007-08-11 10:38 midiC0D0
    crw-rw--w- 1 root audio 116, 24 2007-08-11 10:38 pcmC0D0c
    crw-rw-rw- 1 root audio 116, 16 2007-08-11 10:38 pcmC0D0p
    crw-rw-rw- 1 root audio 116, 17 2007-08-11 10:38 pcmC0D1p
    crw-rw-rw- 1 root audio 116, 18 2007-08-11 10:38 pcmC0D2p
    crw-rw--w- 1 root audio 116, 27 2007-08-11 10:38 pcmC0D3c
    crw-rw-rw- 1 root audio 116, 1 2007-08-11 09:38 seq
    crw-rw-rw- 1 root audio 116, 33 2007-08-11 10:38 timer


  2. Re: slack12+AW744 Audio Card+ymfpci = no midi sound

    My son just pointed out that if I had looked at:
    http://www.alsa-project.org/main/ind...x:Vendor-Aopen
    I would have seen that midi is not supported for my AW744 card.

    So my memory plays tricks. Probably I used a software synth when I
    played midi on Slack 10, but didn't record how I did it.

    Anyway, I have installed TiMidity++ according to these instructions:
    http://hari.literaryforums.org/2006/...midi-on-linux/
    It worked immediately, and using the recommended patches the sound
    quality is excellent.

    Sorry to bother y'all.


+ Reply to Thread