Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add quick fade in/out to controls (reduce clicking noise) #221

Open
verhovsky opened this issue Dec 3, 2014 · 4 comments
Open

Add quick fade in/out to controls (reduce clicking noise) #221

verhovsky opened this issue Dec 3, 2014 · 4 comments

Comments

@verhovsky
Copy link

Any time I pause/play/fast forward etc I hear a clicking noise from my speakers. I would guess this is because cmus literally stops play back as soon as you hit pause, so the speaker is slammed down to the resting position, causing an audible noise. If I'm not mistaken this can actually damage speakers. I believe the right way to do it is add a very very short fade out to bring the membrane of a speaker back to rest in a controlled manner, the same goes for playing where you have to really quickly fade in.

For reference, I am using Arch and ALSA. I would really like to see this feature implemented, it's extremely annoying. To reproduce just go into any loud part of a song (it'll be more obvious) and tap C a couple times.

@flyingmutant
Copy link
Member

What cmus output plugin are you using — ALSA or PulseAudio?

@flyingmutant
Copy link
Member

I am not an expert on how speakers do work, but AFAIK the membrane is always vibrating, so if it stops the vibration, the acceleration it is experiencing is not bigger that the one that is its «regular» one. I don't understand how that can damage speakers.

Using OS X, I see the exact same behavior in iTunes and cmus regarding pausing/unpausing.

@verhovsky
Copy link
Author

Just ALSA. I tried it with cmus on Yosemite and I'm still getting a small click. Turns out I get the clicking in itunes as well. I guess this is just a normal thing to be expected then.

@YellowOnion
Copy link

Playback needs to stop on a zero crossing or fade out, otherwise output will click, shifting the output value from something non-zero, to zero, causes a full band impulse to happen.

Fade-out/in is a must have feature in most audio players anyway, it makes pausing/unpausing a lot less jarring.

Is there a possibility to have this feature request reopened?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants