Re: [gentoo-user] What's the dmix equivalent these days?
On Sunday 25 February 2007, Mick wrote: > Hi All, > > It seems that when Amarok is playing, all system sounds are put on > hold. Once I close Amarok then all system (KDE) notifications > suddenly sound at once! > > How do I figure out what's wrong and how should I fix it? One word: arts It's an abomination that should not be suffered to live. Disable it, switch it off, consign it to hell for all eternity. The only reason arts even exists at all is that in days gone by the hardware could not mix several signals into one by itself, so sound servers were written to do this then present one big sound stream to alsa. These days alsa does the job by itself without needing arts. alan -- Optimists say the glass is half full, Pessimists say the glass is half empty, Developers say wtf is the glass twice as big as it needs to be? Alan McKinnon alan at linuxholdings dot co dot za +27 82, double three seven, one nine three five -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] What's the dmix equivalent these days?
Alan McKinnon ha scritto: > On Sunday 25 February 2007, Mick wrote: >> Hi All, >> >> It seems that when Amarok is playing, all system sounds are put on >> hold. Once I close Amarok then all system (KDE) notifications >> suddenly sound at once! >> >> How do I figure out what's wrong and how should I fix it? > > One word: > > arts > > It's an abomination that should not be suffered to live. Disable it, > switch it off, consign it to hell for all eternity. You can also compile all of kde switching off the "alsa" use flag. m. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] What's the dmix equivalent these days?
On Montag, 26. Februar 2007, b.n. wrote: > Alan McKinnon ha scritto: > > On Sunday 25 February 2007, Mick wrote: > >> Hi All, > >> > >> It seems that when Amarok is playing, all system sounds are put on > >> hold. Once I close Amarok then all system (KDE) notifications > >> suddenly sound at once! > >> > >> How do I figure out what's wrong and how should I fix it? > > > > One word: > > > > arts > > > > It's an abomination that should not be suffered to live. Disable it, > > switch it off, consign it to hell for all eternity. > > You can also compile all of kde switching off the "alsa" use flag. > > m. yeah, but you loose the video-preview that way. -- Conclusions In a straight-up fight, the Empire squashes the Federation like a bug. Even with its numerical advantage removed, the Empire would still squash the Federation like a bug. Accept it. -Michael Wong -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] What's the dmix equivalent these days?
On Monday 26 February 2007 22:02, b.n. wrote: > Alan McKinnon ha scritto: > > On Sunday 25 February 2007, Mick wrote: > >> Hi All, > >> > >> It seems that when Amarok is playing, all system sounds are put on > >> hold. Once I close Amarok then all system (KDE) notifications > >> suddenly sound at once! > >> > >> How do I figure out what's wrong and how should I fix it? > > > > One word: > > > > arts > > > > It's an abomination that should not be suffered to live. Disable it, > > switch it off, consign it to hell for all eternity. > > You can also compile all of kde switching off the "alsa" use flag. Did you mean to say "arts"? I thought that this was required to be able to play KDE system notifications? I checked again my settings. I have enabled the Sound System in Kcontrol, but have set it to use alsa. However, under System Notifications I used to have /usr/bin/aplay as the external sound player (under Audio Player settings). Since aplay was hard masked a long time ago, I switched back to 'KDE sound system' which I believe is using Arts. I recall dmix playing nicely with arts by mixing system notification sounds with alsa. From your messages I assume that although alsa deals with software mixing all on its own it does not mix in nicely with Arts. Since aplay is hard masked, what external player should I use? What other options are there to be able to play system notifications, if I want to keep alsa? Thanks for your responses. -- Regards, Mick pgpAopVc5vxXL.pgp Description: PGP signature
Re: [gentoo-user] What's the dmix equivalent these days?
On Montag, 26. Februar 2007, Mick wrote: > On Monday 26 February 2007 22:02, b.n. wrote: > > Alan McKinnon ha scritto: > > > On Sunday 25 February 2007, Mick wrote: > > >> Hi All, > > >> > > >> It seems that when Amarok is playing, all system sounds are put on > > >> hold. Once I close Amarok then all system (KDE) notifications > > >> suddenly sound at once! > > >> > > >> How do I figure out what's wrong and how should I fix it? > > > > > > One word: > > > > > > arts > > > > > > It's an abomination that should not be suffered to live. Disable it, > > > switch it off, consign it to hell for all eternity. > > > > You can also compile all of kde switching off the "alsa" use flag. > > Did you mean to say "arts"? I thought that this was required to be able to > play KDE system notifications? no, arts is not required to be able to play the KDE notifications. > Since aplay is hard masked, what external player should I use? What other > options are there to be able to play system notifications, if I want to > keep alsa? sox? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] What's the dmix equivalent these days?
On Monday 26 February 2007 23:36:02 Hemmann, Volker Armin wrote: > > > You can also compile all of kde switching off the "alsa" use flag. > > > > Did you mean to say "arts"? I thought that this was required to be able > > to play KDE system notifications? > > no, arts is not required to be able to play the KDE notifications. In all fairness it used to be necessary to enable arts for kdelibs... # grep -C 3 KNotify $(portageq portdir)/kde-base/kdelibs/ChangeLog 19 Oct 2006; Diego Pettenò <[EMAIL PROTECTED]> +files/kdelibs-3.5.5-noarts.patch, +files/kdelibs-3.5.5-noarts-2.patch, +kdelibs-3.5.5-r3.ebuild: Add patches to allow KNotify to work with arts disabled (see upstream bug #99246), closes bug #79029. Enable mitshm, and sendfile on Linux, closes bug #148299. -- Bo Andresen pgpIOT9HjLdux.pgp Description: PGP signature
Re: [gentoo-user] What's the dmix equivalent these days?
On Monday 26 February 2007 22:36, Hemmann, Volker Armin wrote: > On Montag, 26. Februar 2007, Mick wrote: > > On Monday 26 February 2007 22:02, b.n. wrote: > > > Alan McKinnon ha scritto: > > > > On Sunday 25 February 2007, Mick wrote: > > > >> Hi All, > > > >> > > > >> It seems that when Amarok is playing, all system sounds are put on > > > >> hold. Once I close Amarok then all system (KDE) notifications > > > >> suddenly sound at once! > > > >> > > > >> How do I figure out what's wrong and how should I fix it? > > > > > > > > One word: > > > > > > > > arts > > > > > > > > It's an abomination that should not be suffered to live. Disable it, > > > > switch it off, consign it to hell for all eternity. > > > > > > You can also compile all of kde switching off the "alsa" use flag. > > > > Did you mean to say "arts"? I thought that this was required to be able > > to play KDE system notifications? > > no, arts is not required to be able to play the KDE notifications. > > > Since aplay is hard masked, what external player should I use? What > > other options are there to be able to play system notifications, if I > > want to keep alsa? > > sox? How am I supposed to specify sox? /usr/bin/sox doesn't play any sound. :( -- Regards, Mick pgp9x6BsIgvW0.pgp Description: PGP signature
Re: [gentoo-user] What's the dmix equivalent these days?
Mick writes: > How am I supposed to specify sox? /usr/bin/sox doesn't play any sound. Have a look at this "Do I really need aRts?" thread, in the middle it says: "now, copy this script into /usr/bin/Ksplay: #! /bin/sh sox "$@" -v 1.0 -q -t alsa default & emerge sox to get an external sound player for kdm events. Go into the control center, click system notifications and click "player settings" near the bottom. Click "use external player" and then type /usr/bin/Ksplay. " http://forums.gentoo.org/viewtopic-t-526080-highlight-arts.html Alex -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] What's the dmix equivalent these days?
El Tue, 27 Feb 2007 00:53:54 +0100 Alex Schuster <[EMAIL PROTECTED]> escribió: > Mick writes: > > > How am I supposed to specify sox? /usr/bin/sox doesn't play any > > sound. > > Have a look at this "Do I really need aRts?" thread, in the middle it > says: > > "now, copy this script into /usr/bin/Ksplay: > >#! /bin/sh >sox "$@" -v 1.0 -q -t alsa default & > > emerge sox to get an external sound player for > kdm events. Go into the control center, click > system notifications and click "player settings" > near the bottom. Click "use external player" > and then type /usr/bin/Ksplay. > " > > http://forums.gentoo.org/viewtopic-t-526080-highlight-arts.html > > Alex Alternatively you can just use the script "/usr/bin/play", included in the sox package. Jesús Guerrero -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] What's the dmix equivalent these days?
On Tuesday 27 February 2007 00:14, Jesús Guerrero wrote: > El Tue, 27 Feb 2007 00:53:54 +0100 > > Alex Schuster <[EMAIL PROTECTED]> escribió: > > Mick writes: > > > How am I supposed to specify sox? /usr/bin/sox doesn't play any > > > sound. > > > > Have a look at this "Do I really need aRts?" thread, in the middle it > > says: > > > > "now, copy this script into /usr/bin/Ksplay: > > > >#! /bin/sh > >sox "$@" -v 1.0 -q -t alsa default & > > > > emerge sox to get an external sound player for > > kdm events. Go into the control center, click > > system notifications and click "player settings" > > near the bottom. Click "use external player" > > and then type /usr/bin/Ksplay. > > " > > > > http://forums.gentoo.org/viewtopic-t-526080-highlight-arts.html > > > > Alex > > Alternatively you can just use the script "/usr/bin/play", included in > the sox package. Cool! I seem to have missed this in man sox. It plays system sounds now nicely. Thank you for your help. -- Regards, Mick pgpLMlWT2tAiU.pgp Description: PGP signature
Re: [gentoo-user] What's the dmix equivalent these days?
On Tuesday 27 February 2007 06:54, Mick wrote: > On Tuesday 27 February 2007 00:14, Jesús Guerrero wrote: > > El Tue, 27 Feb 2007 00:53:54 +0100 > > > > Alex Schuster <[EMAIL PROTECTED]> escribió: > > > Mick writes: > > > > How am I supposed to specify sox? /usr/bin/sox doesn't play any > > > > sound. > > > > > > Have a look at this "Do I really need aRts?" thread, in the middle it > > > says: > > > > > > "now, copy this script into /usr/bin/Ksplay: > > > > > >#! /bin/sh > > >sox "$@" -v 1.0 -q -t alsa default & > > > > > > emerge sox to get an external sound player for > > > kdm events. Go into the control center, click > > > system notifications and click "player settings" > > > near the bottom. Click "use external player" > > > and then type /usr/bin/Ksplay. > > > " > > > > > > http://forums.gentoo.org/viewtopic-t-526080-highlight-arts.html > > > > > > Alex > > > > Alternatively you can just use the script "/usr/bin/play", included in > > the sox package. > > Cool! I seem to have missed this in man sox. It plays system sounds now > nicely. Blast! I spoke too soon. It /usr/bin/play plays system sounds fine, by alsa will not mix them if e.g. amarok is playing in the background. It's either one or the other. Do I need to rebuild kdelibs without arts for it to work? This should really be simpler. -- Regards, Mick pgpQZXZIoPAcq.pgp Description: PGP signature
Re: [gentoo-user] What's the dmix equivalent these days?
On Tuesday 27 February 2007, Mick <[EMAIL PROTECTED]> wrote about 'Re: [gentoo-user] What's the dmix equivalent these days?': > On Tuesday 27 February 2007 06:54, Mick wrote: > > On Tuesday 27 February 2007 00:14, Jesús Guerrero wrote: > > > El Tue, 27 Feb 2007 00:53:54 +0100 > > > Alex Schuster <[EMAIL PROTECTED]> escribió: > > > > Mick writes: > > > > > How am I supposed to specify sox? /usr/bin/sox doesn't play any > > > > > sound. > > > > > > > > Have a look at this "Do I really need aRts?" thread. > > > > http://forums.gentoo.org/viewtopic-t-526080-highlight-arts.html > > > > > > Alternatively you can just use the script "/usr/bin/play", included > > > in the sox package. > > > > Cool! I seem to have missed this in man sox. It plays system sounds > > now nicely. > > Blast! I spoke too soon. It /usr/bin/play plays system sounds fine, by > alsa will not mix them. Do you have an alsa configuration file (e.g. /etc/asoundrc)? I used dmix a while back, and when it changed to being the default, my asoundrc broke playback. You might try deleting (or at least removing any dmix/dsnoop entries from) that file. -- Boyd Stephen Smith Jr. ,= ,-_-. =. [EMAIL PROTECTED] ((_/)o o(\_)) ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-' http://iguanasuicide.org/ \_/ New GPG Key! Old key expires 2007-03-25. Upgrade NOW! pgp58y76G8olo.pgp Description: PGP signature
Re: [gentoo-user] What's the dmix equivalent these days?
On Tuesday 27 February 2007 22:41, Boyd Stephen Smith Jr. wrote: > On Tuesday 27 February 2007, Mick <[EMAIL PROTECTED]> wrote > > Blast! I spoke too soon. /usr/bin/play plays system sounds fine, but > > alsa will not mix them. > > Do you have an alsa configuration file (e.g. /etc/asoundrc)? I used dmix a > while back, and when it changed to being the default, my asoundrc broke > playback. You might try deleting (or at least removing any dmix/dsnoop > entries from) that file. Thanks Bo, Actually, I do not have an /etc/asoundrc. I used to have ~/.asoundrc which I moved to #/.asoundrc_OLD back then, when elog told me to do so. Subsequent updates did not recreate it - so I assume it is not needed anymore? -- Regards, Mick pgpgC9qbw6eRN.pgp Description: PGP signature
Re: [gentoo-user] What's the dmix equivalent these days?
On Wednesday 28 Feb 2007, Mick wrote: > On Tuesday 27 February 2007 06:54, Mick wrote: > > On Tuesday 27 February 2007 00:14, Jesús Guerrero wrote: > > > El Tue, 27 Feb 2007 00:53:54 +0100 > > > > > > Alex Schuster <[EMAIL PROTECTED]> escribió: > > > > Mick writes: > > > > > How am I supposed to specify sox? /usr/bin/sox doesn't play any > > > > > sound. > > > > > > > > Have a look at this "Do I really need aRts?" thread, in the middle it > > > > says: > > > > > > > > "now, copy this script into /usr/bin/Ksplay: > > > > > > > >#! /bin/sh > > > >sox "$@" -v 1.0 -q -t alsa default & > > > > > > > > emerge sox to get an external sound player for > > > > kdm events. Go into the control center, click > > > > system notifications and click "player settings" > > > > near the bottom. Click "use external player" > > > > and then type /usr/bin/Ksplay. > > > > " > > > > > > > > http://forums.gentoo.org/viewtopic-t-526080-highlight-arts.html > > > > > > > > Alex > > > > > > Alternatively you can just use the script "/usr/bin/play", included in > > > the sox package. > > > > Cool! I seem to have missed this in man sox. It plays system sounds now > > nicely. > > Blast! I spoke too soon. It /usr/bin/play plays system sounds fine, by > alsa will not mix them if e.g. amarok is playing in the background. It's > either one or the other. Do I need to rebuild kdelibs without arts for it > to work? This should really be simpler. i recently went through this after something broke in arts. I turned off the KDE sound system and in the System Notifications dialog, specified "playsound" as the external player (found in sdl-sound package). You can also use "mplayer" but the module is enormous. Everything works really well now, with no drop-outs during the KDE Start/Stop fan-fares. :) HTH -Robin. -- -- Robin Atwood -- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] What's the dmix equivalent these days?
On Mon, 26 Feb 2007 21:34:57 +, Mick wrote: > Since aplay is hard masked, what external player should I use? aplay is not masked, it is part of alsa-utils. -- Neil Bothwick Kludge: (v., adj., or n.) to fix a program in the usual way. signature.asc Description: PGP signature
Re: [gentoo-user] What's the dmix equivalent these days?
On Tuesday 06 March 2007 10:13, Neil Bothwick wrote: > On Mon, 26 Feb 2007 21:34:57 +, Mick wrote: > > Since aplay is hard masked, what external player should I use? > > aplay is not masked, it is part of alsa-utils. Oops, you're right. I am (almost) sure it had been hard masked some time in the past, I remember emerge --sync telling me all about it. Anyway, it seems that playsound now works fine and I have added -arts to my USE flags. While we're at it I might as well share this little sound problem/feature with you: When my laptop boots up the sound is always muted. To kick start it I need to either increase/decrease the volume (Master, or PCM) using alsamixer, or press the dedicated volume hardware buttons on the laptop keyboard. It can get more weird too: If I have launched an application that uses sound directly like e.g. Amarok, then in addition I need to increase the volume to 100% to get sound from both speakers. Otherwise only the RH speaker works. Does this all make any sense to you? -- Regards, Mick pgpKmvj4RV8lT.pgp Description: PGP signature