Re: Can you click on a desktop icon and play a .wav as well as starting the app?

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

 



On Sunday 25 March 2007 03:47, Tim wrote:
> On Sat, 2007-03-24 at 20:08 +0100, Nigel Henry wrote:
> > The problem I have is that "play", or "aplay" will not play the
> > soundfile if another audio app is already running
>
> Well, ogg123 will play sound while another instance of ogg123 is playing
> sound.  But even if you find some tool, like it, that can do so.  You're
> still at the mercy of whatever else is already using the sound.  If
> *that* doesn't share, you're out of luck.

A new day, and thinking clearer, I've fixed the problem. It would have helped 
if I had used the correct plugin with aplay, as below.

aplay -D plug:dmix Jw_120_G_Cuban2.wav

Now I can start Opera with "aoss opera", and listen to Internet radio using 
the BBC's radioplayer, which uses the realplayer plugin, plus play a tune 
with MhWaveedit, and also launch the music app via the shellscript, which 
plays the .wav, and launches the app. Bingo!!

Here is the link to the Alsa page which discusses DmixPlugin. It also gives 
info on setting up a .asoundrc file, but I havn't needed to do that.

http://alsa.opensrc.org/home/w/org/opensrc/alsa/index.php?title=DmixPlugin

Soundcard:  Ensoniq (ens1371 driver)
OS: FC2  (ancient, but IMHO one of the best. FC5's ok too)
Kernel: 2.6.10-2.3.legacy_FC2
Alsa version: 1.0.6  (ancient, but works)

Thanks for all the suggestions folks.

Nigel.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux