Hello


I'm trying to play MIDI files with the internal synth of my soundcard 
using alsa 0.9.0b7, but I simply can't. I can't even use sfxload to set 
sounf fonts. Everything else works nicely. I'm looking for your help to 
set up this thing.


This is my ALSA-related modules.conf (made with the debian way: editing 
a file in /etc/modutils and running update-modules):


# Debian ALSA modules path
# Do not edit this unless you understand what you're doing.
path=/lib/modules/`uname -r`/misc

# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore

# ALSA portion
alias snd-card-0 snd-card-emu10k1
# OSS/Free portion
alias sound-slot-0 snd-card-0

# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss


I did not set the options to enable IR, digital IO and such, as you can see.
I'm using sfxload from awesfx-0.4.4 from http://opensource.creative.com 
and I tested a alsa-patched version found in a page I can't remember, 
both didn't work.
There's some tests I tried with sfxload:

sfxload synthgm.sbk
/dev/sequencer: Device not configured

sfxload --device=/dev/sequencer2 synthgm.sbk
/dev/sequencer: Device not configured

sfxload --device=/dev/amidi0 synthgm.sbk
there is no soundcard

sfxload --device=/dev/amidi1 synthgm.sbk
/dev/amidi1: No such device

tried 1 thru 3 with the same result (to admmidi as well).

When I tried:
sfxload --device=/dev/midi0 synthgm.sbk

the prompt did not return, and after 15 minutes I tried Ctrl-C and got 
my prompt back. Devices midi1 thru 3: No such device.

sfxload --device=/dev/snd/midiC0D0 synthgm.sbk

the same problem with the prompt. Ctrl-C returned it to me.

sfxload --device=/dev/snd/midiC0D1 synthgm.sbk
sfxload --device=/dev/snd/midiC0D2 synthgm.sbk

both returned: there is no soundcard

MusE seems to recognize a Emu10k1 Ports 0 and 1 and even seems to play, 
but as no sound font was loaded, I can't be sure.

These are the character devices I found to seem to be related to MIDI.

argo:/dev# ls -l midi*
lrwxrwxrwx    1 root     root           10 set  8 06:34 midi -> /dev/midi0
crw-rw----    1 root     audio     14,   2 set  8 06:34 midi0
crw-rw----    1 root     audio     14,   2 ago 30 10:36 midi00
crw-rw----    1 root     audio     14,  18 ago 30 10:36 midi01
crw-rw----    1 root     audio     14,  34 ago 30 10:36 midi02
crw-rw----    1 root     audio     14,  50 ago 30 10:36 midi03
crw-rw----    1 root     audio     14,  18 set  8 06:34 midi1
crw-rw----    1 root     audio     14,  34 set  8 06:34 midi2
crw-rw----    1 root     audio     14,  50 set  8 06:34 midi3

argo:/dev# ls -l sequencer*
crw-rw----    1 root     audio     14,   1 set  8 06:34 sequencer
lrwxrwxrwx    1 root     root           10 set  8 06:34 sequencer2 ->
                                                         /dev/music

argo:/dev# ls music -l
crw-rw----    1 root     audio     14,   8 set  8 06:34 music

argo:/dev# ls amidi* -l
lrwxrwxrwx    1 root     root           11 set  8 06:34 amidi ->
                                                         /dev/amidi0
crw-rw----    1 root     audio     14,  13 set  8 06:34 amidi0
crw-rw----    1 root     audio     14,  29 set  8 06:34 amidi1
crw-rw----    1 root     audio     14,  45 set  8 06:34 amidi2
crw-rw----    1 root     audio     14,  61 set  8 06:34 amidi3

argo:/dev# ls admmidi* -l
crw-rw----    1 root     audio     14,  14 set  8 06:34 admmidi0
crw-rw----    1 root     audio     14,  30 set  8 06:34 admmidi1
crw-rw----    1 root     audio     14,  46 set  8 06:34 admmidi2
crw-rw----    1 root     audio     14,  62 set  8 06:34 admmidi3

argo:/dev# ls snd/midiC0D* -l
crw-rw-rw-    1 root     root     116,   8 set 13 03:40 snd/midiC0D0
crw-rw-rw-    1 root     root     116,   9 set 13 03:40 snd/midiC0D1
crw-rw-rw-    1 root     root     116,  10 set 13 03:40 snd/midiC0D2


I hope you can help me.


Thanks


Claudio


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

Reply via email to