From: JT on
On 02/05/10 14:33, houghi wrote:
> JT wrote:
>
>> Most likely you tried already ;-) : 'fuser /dev/<yoursounddevicehere>' ?
>>
>> But in case you didn't, let us know. So we can look further?
>>
> As you see below, I am listening to some music. I also am hearing it.
> <lala lalala ...> See? ;-)
>
> <snipped>
>

> (Oh and for those who speak Dutch and have mpg123 installed, try
> `mpg123 -@ "http://yp.shoutcast.com/sbin/tunein-station.pls?id=355006"`
> Or just use mplayer. Geweldige muziek. LOL.)
>
'Nick & Simon' en een 'Zirtaki' ofzo om 9u 'smorgens..... U wordt
bedankt ... LOL Gauw even een antidote opzoeken in de vorm van wat
Clapton ofzo.
> houghi
>


--
Kind regards, JT

From: JT on
On 03/05/10 11:47, houghi wrote:
> JT wrote:
>
>>> (Oh and for those who speak Dutch and have mpg123 installed, try
>>> `mpg123 -@ "http://yp.shoutcast.com/sbin/tunein-station.pls?id=355006"`
>>> Or just use mplayer. Geweldige muziek. LOL.)
>>>
>>>
>> 'Nick & Simon' en een 'Zirtaki' ofzo om 9u 'smorgens..... U wordt
>> bedankt ... LOL Gauw even een antidote opzoeken in de vorm van wat
>> Clapton ofzo.
>>
> :-D
>
> Als je wil kun je streamripper downloaden en dan kun je het downloaden
> en op je mp3 speler altijd beluisteren.
>
> houghi
>
Bedankt voor de tip , but no thanks :P

--
Kind regards, JT

From: JT on
On 03/05/10 11:04, houghi wrote:
> JT wrote:
>
>> Maybe try to use a reverse approach. You are listening to music, so most
>> probably you know what program is generating this music ;-).
>>
> I don't. I often start a playerm stop it, change to another one, use yet
> another one, then the next day I have no idea wich one I am running and
> is on 'pause'.
>
> houghi
>
I understand - it's even worse : if you might play a game with sounds ....

But what I gather is that you miss out, or can't find, the needed info
in a particular situation in which music sounds. For that case, the
reverse approach might shed some light on the details. After that you
might be able to use those details to build a rock-solid
all-future-proof and reliable solution.


--
Kind regards, JT

From: Clemens Ladisch on
houghi wrote:
> I found `lsof|grep snd` which shows the correct information when e.g.
> Amarok or npviewer. However it does not work when I run the gam (Lux)

"snd" works only for devices in /dev/snd/. However, the OSS (emulation)
devices are directly in /dev/, so try "lsof | grep -e snd -e dsp".


HTH
Clemens
From: Clemens Ladisch on
houghi wrote:
> Clemens Ladisch wrote:
> > "snd" works only for devices in /dev/snd/. However, the OSS (emulation)
> > devices are directly in /dev/, so try "lsof | grep -e snd -e dsp".
>
> See below, I am listening to music with MPD.
> alsamixer /dev/snd/controlC0
> xfce4-mix /dev/snd/controlC0

What is "lsof | grep mpd" in this case?


Regards,
Clemens