Cockos Incorporated Forums Volume adjustments - 2^(x/6) vs 10^(x/20)?
 Register Track Bugs/Feature Requests Search Today's Posts Mark Forums Read

 08-07-2019, 10:12 AM #1 Amether Human being with feelings     Join Date: Apr 2006 Location: London Posts: 505 Volume adjustments - 2^(x/6) vs 10^(x/20)? If I sneak a look at some JS plugins, they tend to use the formula 2^(x/6) to convert a slider that gives an dB adjustment of x to a multiplier for each sample. Why is this used and not 10^(x/20)? As I understand it, this 10^(x/20) is more 'correct'? (source: http://www.sengpielaudio.com/calculator-levelchange.htm) I appreciate the values turn out very similar until you reach such huge changes in volume that it kinda doesn't matter, but y'know, still. What's the reasoning behind this? CPU? __________________ My name's Martin ... phone ... Martin Phone! http://soundcloud.com/martin-phone
 08-07-2019, 10:22 AM #2 DarkStar Human being with feelings     Join Date: May 2006 Location: Surrey, UK Posts: 17,917 __________________ DarkStar ... interesting, if true. . . . Inspired by ...
 08-07-2019, 11:07 AM #3 schwa Administrator     Join Date: Mar 2007 Location: NY Posts: 10,174 2^(x/6) is an approximation.
 08-08-2019, 12:29 AM #4 Tale Human being with feelings     Join Date: Jul 2008 Location: The Netherlands Posts: 2,954 At some point 2^x might have been more efficient, in which case the approximation makes sense. However, nowadays 2^x and 10^x are just as (in)efficient. A slightly more efficient aproach would be exp(x*y), where y = log(10)/20. __________________ Elka Panther - Martinic Scanner Vibrato - Tale's JSFX Pack - WDL.git
 08-08-2019, 09:32 AM #5 Amether Human being with feelings     Join Date: Apr 2006 Location: London Posts: 505 Thanks all - I did search but clearly need better search skillz... sigh. I choose... inefficient! __________________ My name's Martin ... phone ... Martin Phone! http://soundcloud.com/martin-phone

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is Off Forum Rules
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home General Discussion     General Discussion (aka spam trap) REAPER Forums     REAPER General Discussion Forum     newbieland     REAPER Q&A, Tips, Tricks and Howto     Recording Technologies and Techniques     REAPER Compatibility     REAPER Color Themes and Icon Sets     MIDI Hardware, Control Surfaces, and OSC     REAPER Non-English Speaking User Forums         Forum de REAPER en français         Foro de REAPER en Español         Fórum do REAPER em português         Forum di REAPER in italiano         Deutschsprachiges REAPER Userforum         Pyccкоязычный фopyм REAPER     REAPER Bug Reports     REAPER Feature Requests     Dstruct's Casa De Nitpicks     REAPER for Live Use     REAPER for Video Editing/Mangling     REAPER for Ambisonic and 3D positional audio uses     ReaScript, JSFX, REAPER Plug-in Extensions, Developer Forum     REAPER for macOS X     REAPER for Linux     REAPER Pre-Release Discussion     REAPER Music/Collaboration Discussion     REAPER lounge NINJAM Discussion     NINJAM User Discussion     NINJAM Developer Discussion Other Software Discussion     WDL users forum     LICEcap Discussion     OSCII-bot forum     Old Cockos Products Forum

All times are GMT -7. The time now is 02:51 AM.

 -- Cockos ---- REAPER 5 ---- Reaper 3 ---- Reaper 2 ---- Reaper 1 Contact Us - Çockos Incorporated - Archive - Top