Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
aRTs/ALSA Help?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
linkinpark342
n00b
n00b


Joined: 08 Jan 2006
Posts: 29

PostPosted: Sun Feb 19, 2006 3:44 pm    Post subject: aRTs/ALSA Help? Reply with quote

Okay now KDE really confused me...
So, after upgrading to 3.5.1, I'm trying to get my notifications to work (the reason i upgraded)
After about an hour of tinkering, i was able to get the "Test Sound" button to work under Sound System and I'm greeted with that trippy music when i do. On the hardware tab i have it set to ALSA and the only check box is Full duplex and quality is set to 16 bit. I go over the System Notifications and pick the first one that comes up, and press the play button and.... nothing. (bah) So i figure the file type might not be playable, i go over the .../sounds and type artsplay KDE_Glass_Break.ogg and it plays surprisingly well. So I'm stumped, the settings in System Notification are set to use the KDE Sound System properties and it can play the file... it just doesn't want to... Any advice? (please don't say something similar to "screw arts and the notifications alltogether..." that's not really helping me...)

Specs:
Gentoo-amd64-2.6.15-r1
KDE 3.5.1
Creative Audigy2 Value

[edit: forgot specs. P.S. XMMS works too...]
Back to top
View user's profile Send private message
Matteo Azzali
Retired Dev
Retired Dev


Joined: 23 Sep 2004
Posts: 1133

PostPosted: Sun Feb 19, 2006 4:54 pm    Post subject: Reply with quote

Well. If you're sure you want to stick with Arts, you should peek at ~/.kde/share/config/knotifyrc, should have these lines:

[StartProgress]
Arts Init=true
KNotify Init=true
Use Arts=true

However, you can stop arts definitely and use external player (most used is /usr/bin/play got from
sox package compiled with alsa and ogg use flags)
_________________
Every day a new distro comes to birth. Every day a distro "eats" another.
If you're born distro, no matter what, start to run.
---- http://www.linuxprinting.org/ ---- http://tuxmobil.org/
Back to top
View user's profile Send private message
linkinpark342
n00b
n00b


Joined: 08 Jan 2006
Posts: 29

PostPosted: Sun Feb 19, 2006 10:11 pm    Post subject: Reply with quote

I added somethign to that knotifyrc, one of the lines that you posted was missing so i hope that'll solve it. I'd actually love to cut aRTs out of the equation but that one doesn't work either. the external player has yet to work for me when i used mplayer as the external. as soon as i fix my biuld env (coreutil 5.94 screwed me over) i'm goign to try that sox player you said. I'll get back here ASAP
Back to top
View user's profile Send private message
linkinpark342
n00b
n00b


Joined: 08 Jan 2006
Posts: 29

PostPosted: Sun Feb 19, 2006 10:21 pm    Post subject: Reply with quote

sox player doesn't work... going to restart with knotify again maybe :/
[edit: that didn't work either... bah! is there any bug someone know of where sox wouldn't work for some reason? it works fine from console, even playing ogg's but it just doesn't want to work with the notifications]
Back to top
View user's profile Send private message
Matteo Azzali
Retired Dev
Retired Dev


Joined: 23 Sep 2004
Posts: 1133

PostPosted: Mon Feb 20, 2006 9:31 am    Post subject: Reply with quote

knotify accepts just /usr/bin/play , it will not works if you instert "/usr/bin/play -options" in the field.
_________________
Every day a new distro comes to birth. Every day a distro "eats" another.
If you're born distro, no matter what, start to run.
---- http://www.linuxprinting.org/ ---- http://tuxmobil.org/
Back to top
View user's profile Send private message
Matteo Azzali
Retired Dev
Retired Dev


Joined: 23 Sep 2004
Posts: 1133

PostPosted: Sun Aug 13, 2006 1:56 pm    Post subject: Reply with quote

Huff, I found a way to use system notification without arts and have no any kind of regret,
normal volume and multiple sounds at once:

I created the file /usr/local/bin/Ksplay:
Code:

#!/bin/sh
sox "$@" -v 0.7 -q -t alsa default &


0.7 is my perfect volume, you might want to modify. the & grants me multiple notifications at once.

I then used /usr/local/bin/Ksplay in system notification external player settings.

play comes with sox package, check also his use flags if you want ogg support.
_________________
Every day a new distro comes to birth. Every day a distro "eats" another.
If you're born distro, no matter what, start to run.
---- http://www.linuxprinting.org/ ---- http://tuxmobil.org/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum