On 27-11-07 02:48, Rene Herman wrote:

> Yes, well, I was feeling manly...
> 
> But the main utility should, admittedly, mostly be the source. Tiny and 
> intended to be sort of instructive in the dBFS -> Amplitude step and such.

Mmm, and now that I look at it again:

        ampl = 32767.0 / pow(10, -dbfs / 20);

is the same as:

         ampl = 32767 * pow(10, dbfs / 20);

which looks somewhat nicer.

Rene.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to