Erik Saulkalns hat gesagt: // Erik Saulkalns wrote:
> First of all let me say that this is probably a problem with aRts. However
> I have had no luck with the aRts people, so I hope someone here, who uses
> ALSA and aRts can help. I have an SBLive! Value and I am unable to get MIDI
> to work under KDE2. I will try to describe my problem as thoroughly as
> possible since I have spent two weeks R'ingTFM as well as many FAQs and
> newsgroup posts. The only reason I haven't deleted my Windows partition is
> because I cant get the damn MIDI to work in KDE with ALSA.
> I can play CD's, and audio files on the PCM just fine. My problem is MIDI.
> (The 2.4.17 built-in MIDI kernel driver worked just fine for me in KDE, but I
> would like to use ALSA).
>
> I am running the 2.4.17 Kernel. Here are the steps I took to set up ALSA
> with my SBLive:
>
> 1. I recompiled my kernel with ONLY soundcore support (as part of the
> kernel), then rebooted.
>
> 2. I downloaded the ALSA driver, lib, tools, and utils 0.9.0 BETA 12 as well
> as the ALSA OSS driver BETA 11.
>
> 3. I succesfully compiled all of the ALSA files.
> For alsa-driver I used:
> "./configure --with-sequencer=yes --with-card=emu10k1 && make && make install"
> ran the "./snddevices" file (I don't use DEVFS)
good.
> and used:
> "./configure && make && make install" for the other files
>
> 4. Here is my /etc/modules.conf file:
> # alsa sound
> alias char-major-116 snd
> alias char-major-14 soundcore
>
> alias snd-card-0 snd-card-emu10k1
A typo? That module is called snd-emu10k1 in beta 11 and 12, the rest is
fine, but I'd recommend something like
post-install snd-synth-emu10k1 /usr/bin/sfxload /dos/audio/sblive/SFBank/8mbgmsfx.sf2
as well.
> alias sound-slot-0 snd-card-0
> options snd snd_cards_limit=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
>
> # video section
> alias char-major-195 NVdriver
>
> 5. I ran depmod
>
> 6. Then
> "modprobe snd-emu10k1"
> (midi wouldn't play in KDE)
> (yes I set the mixer levels correctly)
> so then I ran
> "modprobe snd-emu10k1-synth"
> as someone suggested, still didn't work
> (I did everything as root, there where no permission problems)
>
> 7. No MIDI devices were listed in the "kcontrol" center in KDE.
I don't have KDE, but maybe kcontrol is looking for /dev/midiXX devices?
Make double-sure, that you have these. You did run the snddevices script of ALSA,
but maybe something went wrong. You can also just softlink for example
/dev/midi00 to /dev/snd/midiC0D0 with "ln -s /dev/snd/midiC0D0
/dev/midi00", but that shouldn't be neccessary and might break things
worse...
> 9. I then downloaded, compiled, and ran pmidi:
> "pmidi -p 65:0 mymidi.mid"
> sure enough it played just fine
So your basic ALSA midi works, the problem definetly is in the KDE
applications.
> Ahah! This must be an aRts problem, right? Or am I wrong, why do files play
> with pmidi but not KMid?
What device is KMid using?
> Why wont KDE2 programs such as Brahms play MIDI? This is an aRts problem
> right? If so, what is the problem?
Maybe the reason is missing /dev/midi devices?
> Sorry for the long post, but I am desperate to get my MIDI to work under KDE
> since Brahms is my OpenSource replacement to CakeWalk, I can't stand to use
> any more Windows programs that crash every few hours.
I prefer the MusE sequencer, but that is of course your choice. MusE
supports ALSA 0.9 natively and works fine here with my SBLive, but I don't
have any sound daemon running. Do you really -need- ARTS? Could you stop
ARTS, and try if it works then?
bye,
--
__ __
Frank Barknecht ____ ______ ____ __ trip\ \ / /wire ______
/ __// __ /__/ __// // __ \ \/ / __ \\ ___\
/ / / ____/ / / / // ____// /\ \\ ___\\____ \
/_/ /_____/ /_/ /_//_____// / \ \\_____\\_____\
/_/ \_\
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user