Unix Technical Forum

sound hang goes dun,dun,dun,dun...

This is a discussion on sound hang goes dun,dun,dun,dun... within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> I have been using noatun a lot lately (daily from around 7:00pm until 11:00 or 12:00 straight) and twice ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-20-2008, 11:11 AM
aaronl
 
Posts: n/a
Default sound hang goes dun,dun,dun,dun...

I have been using noatun a lot lately (daily from around 7:00pm until
11:00 or 12:00 straight) and twice now in as many weeks (since my 10.2
fresh install) noatun has hung with a loud repeating
dun,dun,dun...sound like a note is in a tight loop of sorts. I can't
shutdown noatun and so try logging out of kde and eventually a window pops
up saying asking to shut it down; it does then logout proceeds. I can
go back in kde and it works normally until, well. I have the 10.2 install
versions of kde (arts-1.4.2-i486-1). Any ideas; I couldn't find anything
in any logs, and don't know where to go on this one (accept maybe 'out the
window' hehe).

Much appreciated,
Aaron.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-20-2008, 11:11 AM
aaronl
 
Posts: n/a
Default Re: sound hang goes dun,dun,dun,dun...

On Sun, 02 Oct 2005 01:54:12 +0000, aaronl wrote:

> [...] noatun has hung with a loud repeating
> dun,dun,dun...sound like a note is in a tight loop of sorts [...]


I'm trying to find a program (maybe one already included in slackware)
that I can use to play .mp3 files outside of X. I would spend a lot less
time in windows env if I could fill that gap. I havn't found one yet but
I did find 'xmms' which I'm using now instead of noatun--and it looks
'super coo'!

Aaron


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-20-2008, 11:11 AM
Loki Harfagr
 
Posts: n/a
Default Re: sound hang goes dun,dun,dun,dun...

Le Sun, 02 Oct 2005 15:37:08 +0000, aaronl a écrit*:

> On Sun, 02 Oct 2005 01:54:12 +0000, aaronl wrote:
>
>> [...] noatun has hung with a loud repeating
>> dun,dun,dun...sound like a note is in a tight loop of sorts [...]

>
> I'm trying to find a program (maybe one already included in slackware)
> that I can use to play .mp3 files outside of X. I would spend a lot less
> time in windows env if I could fill that gap. I havn't found one yet but
> I did find 'xmms' which I'm using now instead of noatun--and it looks
> 'super coo'!


In console, you can use aplay to play the output
of the mpg321 decoder, here a short script :

#!/bin/sh
###
printf "Now playing : %s\n\n" "${@}"
mpg321 -q -w - "${@}" | aplay -f cd -D plug:SLAVE='hw:0'
### to play on the other card :
### mpg321 -q -w - "${@}" | aplay -f cd -D plug:SLAVE='hw:1'


Note that you can prepare different scripts for the different
formats of encoding you may use, for instance .ogg and .flac
would use :

ogg123 -d wav -f - $* | aplay -f cd -D plug:SLAVE='hw:0'

flac -cd $1 | aplay -f cd -D plug:SLAVE='hw:0'


Mind that the use of $@, $*, or $1, protected and unprotected
are here just to show the script can be simple in case you don't have
to cope with filenames with a b0rken windows namespace ;-)


aplay is in package ap/alsa-utils-1.0.9a-i486-2.tgz
mpg321 is in package ap/mpg321-0.2.10-i486-2.tgz

Good listening :-)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-20-2008, 11:11 AM
MikeReynolds
 
Posts: n/a
Default Re: sound hang goes dun,dun,dun,dun...

On 2005-10-02, Loki Harfagr <loki@DarkDesign.free.fr> wrote:
> Le Sun, 02 Oct 2005 15:37:08 +0000, aaronl a écrit*:
>
>> On Sun, 02 Oct 2005 01:54:12 +0000, aaronl wrote:
>>
>>> [...] noatun has hung with a loud repeating
>>> dun,dun,dun...sound like a note is in a tight loop of sorts [...]

>>
>> I'm trying to find a program (maybe one already included in slackware)
>> that I can use to play .mp3 files outside of X. I would spend a lot less
>> time in windows env if I could fill that gap. I havn't found one yet but
>> I did find 'xmms' which I'm using now instead of noatun--and it looks
>> 'super coo'!

>


Check out workbone. It can even play from the cd drive iirc
--
Best Regards,

Mike Reynolds
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-20-2008, 11:11 AM
aaronl
 
Posts: n/a
Default Re: sound hang goes dun,dun,dun,dun...

On Sun, 02 Oct 2005 18:19:52 +0200, Loki Harfagr wrote:

>In console, you can use aplay to play the output
> of the mpg321 decoder, here a short script :


thanks - just what i needed.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-20-2008, 11:12 AM
aaronl
 
Posts: n/a
Default Re: sound hang goes dun,dun,dun,dun...

On Sun, 02 Oct 2005 15:37:08 +0000, aaronl wrote:

> I did find 'xmms' which I'm using now instead of noatun [...]


One more comment here;

Now that I'm trying out 'xmms' for playing .mp3's in kde I've noticed
that sometimes it throws a check configuration error box upon starting up.
This seems linked to the kde sound system which I have now disabled in the
control panel, but I do still get the error if I use noatun then shut it
down then use xmms. It seems the kde sound system takes exclusive control
of hardware and doesn't go idle for 60 seconds--when xmms will then start,
I even changed the idle time to 0 in control center but the straight from
noatun to xmms issue still occurs.

I wonder why aRts doesn't play nice and let other sound servers excerise
their existential muscles without having to standing in line. Maybe there
are programming/functional reasons behind it. Anyway, minus one for kde
I guess.

aaron

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:59 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com