[arch-general] OT: [arch-dev-public] polkit package upgrade patch

Ralf Mardorf ralf.mardorf at alice-dsl.net
Sun Aug 12 13:50:17 EDT 2012


On Sun, 2012-08-12 at 19:38 +0200, "Jérôme M. Berger" wrote:
> Fons Adriaensen wrote:
> > It is never necessary. It it were that would imply that a sound
> > card without any gain controls (equivalent to a fixed 0 dB gain)
> > would fail in some cases. It doesn't. In fact many PRO cards are
> > just like that.
> > 
> > If you have apps A, B, C with volumes a, b, c you can always
> > set the HW gain to unity gain (0dB), and send 
> >   
> >   s = a * A + b * B + c * C         (1)
> > 
> > to the soundcard. What would be the advantage of doing what
> > PA does, which is
> > 
> > * m = maximum of a, b, c)
> > * Set the master to m,
> > * send 
> >  
> >   s = a/m * A + b/m * B + c/m * C    (2)
> >     
> > ???
> > 
> > It can only generate trouble, basically you forfeit any
> > headroom the system would have. 
> > 
> 	Actually, that's one point where PA is right (even though it's
> wrong on a lot of other points): doing it like (2) avoids amplifying
> the quantification noise if the sound card applies the master gain
> in analog (or uses higher bit depths internally before the DACs as
> some do).
> 
> 	When cascading amplifiers, it is always better to put the highest
> possible gain on the first stages (always leaving enough headroom to
> avoid clipping/distortion) so that later stages will not amplify the
> noise from the first stages (or so that they will reduce it along
> with the signal). The only case when this rule does not hold is when
> doing digital processing in floating point (because then the
> quantification noise is defined as a proportion of the actual signal
> instead of its potential maximum).
> 
> 		Jerome

If you do a mix you should keep the first stages within a good level
that fits to the operating points of the op-amps, when ever possible,
but you do the mix at that point, followed by sub groups followed by the
master, the earlier the stage, the more you'll work with levels, you do
less work for the sub groups and the most less work for for the master.
You won't readjust the master continuous, especially not for a live
stream.

Regards,
Ralf



More information about the arch-general mailing list