volume mathematical equation for VLC 2.0->1.1

This forum is about all development around libVLC.
r21514
Blank Cone
Blank Cone
Posts: 50
Joined: 17 Sep 2009 08:45

volume mathematical equation for VLC 2.0->1.1

Postby r21514 » 04 May 2012 12:48

I noticed that volume control in VLC 2.0 is much different from 1.1 or earlier.
So 50% from old VLC equals ~80% of new one.
Maybe it's logarithmic...

Anyone can help with writing a mathematical equation to convert 2.0 volume level to old classic?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: volume mathematical equation for VLC 2.0->1.1

Postby Jean-Baptiste Kempf » 04 May 2012 13:18

I think it is cubic scale.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

r21514
Blank Cone
Blank Cone
Posts: 50
Joined: 17 Sep 2009 08:45

Re: volume mathematical equation for VLC 2.0->1.1

Postby r21514 » 04 May 2012 14:02

Sorry for stupid question, but $new=$old^3 or $new=exp(ln($old)/3) (where $new and $old 0.01..1.00)?


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 18 guests