Re: playing soundfiles

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



William Windels writes ("playing soundfiles"):
> Hello,
> Is it possible to play a wav-file and a mp3-file together?

If you do not have a multichannel sound card (which it seems you do
not), you will have to use alsa with the dmix plugin to be able to
play multiple audio streams simultaniously. Check if there is a
directory /proc/asound. If so, also kernel modules are already loaded.

You may have to tell your applications to use alsa instead of OSS. For example:

mplayer -ao alsa:device=default  file.mp3

For mpg321, you can do:

mpg321 -o alsa file.mp3

Also, use "aplay" instead of "play".

The above works with newer versions of alsa which use dmix by default.
If you use an older version, you will need a .asoundrc file which sets
up the default device with dmix. There is quite some discussion about
using alsa in the emacspeak mailing list archive.

Best regards, Lukas

_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/blinux-list

[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]