Re: [LAD] Mixing audio: Noiseless volume changes

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-audio-dev@...>
Date: Monday, March 18, 2013 - 11:45 pm

On Mon, Mar 18, 2013 at 11:28:24PM +0000, James Morris wrote:

> I think the only time zero-crossings are any good is in hand-crafted

The only case where switching on zero-crossings makes sense is when
the gain control element can't perform a continuous change and switching
is the only option. That is the case with many 'electronic volume control'
chips that have e.g steps of 1 dB (or worse).

Using floating point, there is no reason to ever have sudden gain changes,
just smooth the gain value itself (at the sample rate). A critically damped
second order lowpass with a rise time of 30 ms or so will eliminate all
audible artefacts. It's very low on CPU and you only need to run it while
the gain is changing.

Ciao,

--
FA

A world of exhaustive, reliable metadata would be an utopia.
It's also a pipe-dream, founded on self-delusion, nerd hubris
and hysterically inflated market opportunities. (Cory Doctorow)

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAD] Mixing audio: Noiseless volume changes, Tim E. Real, (Mon Mar 18, 9:50 pm)
Re: [LAD] Mixing audio: Noiseless volume changes, Fons Adriaensen, (Mon Mar 18, 11:05 pm)
Re: [LAD] Mixing audio: Noiseless volume changes, Paul Davis, (Mon Mar 18, 10:47 pm)
Re: [LAD] Mixing audio: Noiseless volume changes, Tim E. Real, (Mon Mar 18, 11:05 pm)
Re: [LAD] Mixing audio: Noiseless volume changes, Tim E. Real, (Mon Mar 18, 11:43 pm)
Re: [LAD] Mixing audio: Noiseless volume changes, Fons Adriaensen, (Mon Mar 18, 11:58 pm)
Re: [LAD] Mixing audio: Noiseless volume changes, Tim E. Real, (Tue Mar 19, 12:31 am)
Re: [LAD] Mixing audio: Noiseless volume changes, James Morris, (Mon Mar 18, 11:28 pm)
Re: [LAD] Mixing audio: Noiseless volume changes, Fons Adriaensen, (Mon Mar 18, 11:45 pm)
Re: [LAD] Mixing audio: Noiseless volume changes, Harry van Haaren, (Tue Mar 19, 2:09 am)
Re: [LAD] Mixing audio: Noiseless volume changes, Tim Goetze, (Tue Mar 19, 3:17 am)
Re: [LAD] Mixing audio: Noiseless volume changes, Fons Adriaensen, (Tue Mar 19, 1:02 pm)
Re: [LAD] Mixing audio: Noiseless volume changes, Tim Goetze, (Tue Mar 19, 1:53 pm)
Re: [LAD] Mixing audio: Noiseless volume changes, Fons Adriaensen, (Tue Mar 19, 3:08 pm)
Re: [LAD] Mixing audio: Noiseless volume changes, Tim Goetze, (Tue Mar 19, 3:37 pm)
Re: [LAD] Mixing audio: Noiseless volume changes, Fons Adriaensen, (Tue Mar 19, 4:31 pm)
Re: [LAD] Mixing audio: Noiseless volume changes, Tim Goetze, (Tue Mar 19, 7:06 pm)
Re: [LAD] Mixing audio: Noiseless volume changes, Charles Z Henry, (Tue Mar 19, 10:26 pm)
Re: [LAD] Mixing audio: Noiseless volume changes, Fons Adriaensen, (Tue Mar 19, 10:57 pm)
Re: [LAD] Mixing audio: Noiseless volume changes, Charles Z Henry, (Tue Mar 19, 11:12 pm)
Re: [LAD] Mixing audio: Noiseless volume changes, Fons Adriaensen, (Tue Mar 19, 11:30 pm)
Re: [LAD] Mixing audio: Noiseless volume changes, Fons Adriaensen, (Tue Mar 19, 10:26 pm)
Re: [LAD] Mixing audio: Noiseless volume changes, Harry van Haaren, (Tue Mar 19, 1:31 pm)
Re: [LAD] Mixing audio: Noiseless volume changes, Harry van Haaren, (Tue Mar 19, 4:30 am)
Re: [LAD] Mixing audio: Noiseless volume changes, Tim Goetze, (Tue Mar 19, 3:22 am)