[gst-devel] Express volume in db instead of percent...

Sjoerd Op 't Land sjoerd at intercue.nl
Sat Jan 2 10:57:20 CET 2010


Op 1 jan 2010, om 10:23 heeft Yogesh Marwaha het volgende geschreven:

> Is following a correct method for converting volume from percent to  
> decibel: -
>
> db = 20 * log (percent/100)
Assuming that 'percent' is proportional to the voltage (for example,  
an RMS calculated from a number of samples), yes. In digital audio  
terms, this would then be dBFS (decibel full scale). See also:
  http://en.wikipedia.org/wiki/DBFS

Regards,
Sjoerd

>
>
> Regards,
>
>
> -- 
> Yogesh M
> http://sparklemedia.sourceforge.net/
> http://mazedaar.wordpress.com/
> http://snakeeyes.wordpress.com/
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast  
> and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>





More information about the gstreamer-devel mailing list