Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-13-2004, 09:52 AM
|
#1
|
Member
Registered: Oct 2003
Location: Toronto, Canada
Distribution: Ubuntu, FC3, RHEL 3-4 AS Retired: SuSE 9.1 Pro, RedHat 6-9, FC1-2
Posts: 360
Rep:
|
Why does changinag a job from fg to bg mess up the sound?
Hi all,
Call me lazy. I know this is a trivial question but it is a useability one for me and it's quite frustrating.
When I kick off a plaympeg job either in the background then move it to the foreground or vice versa, the sound is all garbled. Why does this happen? How can I fix it?
The longer story. My home systems are all linux, hooked up to my stereo and hold all my music. So while I'm working in another room, I'll ssh in and quickly kick off plaympeg to have some tunes going. If I have it in the foreground, I can't get to my alsamixer, so I ctrl-z the job then use bg to continue playing in the bg. This frees up the shell for me to use alsamixer. The problem is, when I shift the task to the background, the sound is garbled until the next song. Frustrating if it's a good tune! The same thing happens if I move the background job to the foreground.
Is this a plaympeg issue or a jobs/bg/fg issue?
Distro's FC 2 & 3. (I haven't tested this in SuSE 9.1)
|
|
|
11-13-2004, 09:58 AM
|
#2
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
It's not a problem I have heard of but as work around rather than a direct solution you may want to try using "screen" as opposed to bash job control.
|
|
|
11-13-2004, 10:19 AM
|
#3
|
Member
Registered: Jan 2002
Location: Missoula. Montana, USA
Distribution: Slackware (various)
Posts: 464
Rep:
|
My sound gets garbled too, mostly through browser/X action, but not consistently. Same thing in that the current song becomes garbled and the next is OK. I usually play my tunes with a script run as at atjob. I am attributing the problem most likely to onboard sound, and plan at some point to throw in my old SB Live! board to see if that takes care of the problem. I never had problems with it until I upgraded my system and thought I would just use the "00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)" sound that came on the ASUS motherboard. At the same time, I also moved to a 2.6 kernel and switched to Alsa, so there are alternative hypotheses. What is your setup?
|
|
|
11-13-2004, 06:58 PM
|
#4
|
Member
Registered: Oct 2003
Location: Toronto, Canada
Distribution: Ubuntu, FC3, RHEL 3-4 AS Retired: SuSE 9.1 Pro, RedHat 6-9, FC1-2
Posts: 360
Original Poster
Rep:
|
David, thank you for the suggestion, screen is a handy tool to have around. The problem is that after the first plaympeg session finishes, screen thinks its job is over and closes. One song at a time, kinda like playing old 45's. I'll probably create a script that can work around this problem which shouldn't be too difficult.
Kicking of a process in the background is so easy/habitual with &. Hopefully I can find the problem rather than work around it.
fsbooks,
I'm running FC3... well, mostly. I had FC2 and upgraded to FC3 via yum so I'm sure it's a bastardized version. We'll call it FC2.8 (2.8 is almost 3)
Kernel: 2.6.9-1
00:1f.5 Multimedia audio controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
Alsa
In modprobe.conf,
install snd-intel8x0 /sbin/modprobe --ignore-install snd-intel8x0 && /usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove snd-intel8x0 { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-intel8x0
Are we the only folks that notice this or the only people that care?
|
|
|
11-14-2004, 10:44 AM
|
#5
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
Quote:
Originally posted by JordanH
David, thank you for the suggestion, screen is a handy tool to have around. The problem is that after the first plaympeg session finishes, screen thinks its job is over and closes. One song at a time, kinda like playing old 45's. I'll probably create a script that can work around this problem which shouldn't be too difficult.
|
If you start screen and run it with 2 bash shells then you should be able to use one for playing the tracks and the other to have your mixer permenantly open, neither of the shells will exit unless you ask them too. The other advantage of this is that you can detach the screen in one room and reattach it in the other if you were to move again.
|
|
|
11-14-2004, 09:04 PM
|
#6
|
Member
Registered: Oct 2003
Location: Toronto, Canada
Distribution: Ubuntu, FC3, RHEL 3-4 AS Retired: SuSE 9.1 Pro, RedHat 6-9, FC1-2
Posts: 360
Original Poster
Rep:
|
Very reasonable suggestion. I'll give it a shot when I return home next weekend.
Thanks.
Working hard to be lazy,
J.
|
|
|
All times are GMT -5. The time now is 05:10 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|