Re: A Couple Of ALSA questions



On Fri, 05 Aug 2005 13:56:25 +0100, Pete Thompson wrote:

> Hi, could anyone give me any advice, or point me in the right direction
> for some niggly little problems I'm having with my sound Card?
>
> I'm running Mandrake 10.1 (Download "Oh... you won't be wanting the
> devel libs to compile anything useful then?" Edition) with a
> Soundblaster Live! sound card.
> Mandrake seems to have detected this quite happily and has provided me
> with the ALSA driver - 'snd-emu10k1' which as far as I can tell is
> the correct one to use. However, although I can play audio files (ogg,
> wav etc.) I can't play midi files, nor audio cds directly from my CD
> drive.

You need a softsynth to play back midi files. Get Timidity and a nice gui
for it.

For more interesting stuff, check zynaddsubfx and specimen.

>
> Actually, that's a lie, because I can for some reason I can play audio
> CDs if I have headphones connected to the back of the card itself which
> would suggest that there is something wrong with my mixer settings, but
> I've tried every permutation I can think of in KMix and still the
> speakers are dead to anything that isn't on the harddrive.

Do you have an audio cable from your cd player to your soundcard?

If not then you need a program that 'rips' the cd as it plays. There are
plenty around. I normally rip the cd with cdparanoia and keep it on the
computer.

If you do have an audio cable, then one of the many mysterious
entries in alsa mixer is muted/turned down. Kmix might not show the slider
so... Try alsamixer from the command line, play a cd, and turn up
everything you can find till it works.

>
> The lack of midi is the real bug bare though because I'd quite like to
> try out some sequencer type programs.
>
> And while I'm on the scrounge for info, I'd really like to allow VMware
> access to my sound card, but it will only point to device /dev/dsp which
> doesn't exist, and when I check out the Soundblaster Live! config in
> harddrake, instead of giving me a device to reference to, it gives me
> the actual PCI address, IRQ, I/O address etc.

I don't know anything about vmware. But at a guess...
Do you have oss compatability loaded? (Check the snd-pcm-oss module is
loaded) that's the module that provides /dev/dsp.

Also, I hope you are not trying to do audio work in a virtual machine,
it's never going to work that great.

>
> If anyone could help me iron these creases out then I'd be very grateful
> because I am on the whole very pleased with my set up which is basically
> built from other peoples cast offs and even with only a 400MHz CPU
> still manages to crunch it self through some seriously impressive apps
> (Netbeans 5, VMware 5 OOo... No KDevelop or Kylix of course because I
> don't have the sodding devel libs!!! But I'm not bitter... Honest!)
>
> Cheers in advance - Pete

.



Relevant Pages

  • Re: help with sound...
    ... I still can't play audio cd's. ... For an audio CD you use a CD player programme (or, ... the CD player to the sound card. ...
    (comp.os.linux.hardware)
  • Re: Wmp9 Error Message: 0xC00d1199 Cannot play file
    ... midi files do play perfectly in the player. ... instructions to tell your software synthesiser on the sound card to ...
    (microsoft.public.windowsmedia.player)
  • Re: Can I change a midi file to a mp3 file, others files too
    ... As I've repeatedly said, the MIDI files are not audio files, they're ... instructions to your sound card to play audio notes. ... You have to play the MIDI files in WMP, ... Is there any program that can convert a MIDI file to a MP3 file or other ...
    (microsoft.public.windowsmedia.player)
  • Re: Echo Cancellation on PC platform
    ... > The sound card can play/record only at a certain sample rate, ... When you want to play a wav file at 8khz it has to internally upsample ... >>> 2) some sound cards can only play the audio at 48khz. ... Is the problem that the OS isn't locked to the sample rate on ...
    (comp.dsp)
  • Re: MIDI and sound card question.
    ... just that the AC97 sound card will not play MIDI files by default. ... Windows has a built in MIDI sound set, so doesn't need any help from the ...
    (uk.comp.homebuilt)