[sdiy] cents calcs

mskala at ansuz.sooke.bc.ca mskala at ansuz.sooke.bc.ca
Wed Mar 14 21:57:07 CET 2018


On Wed, 14 Mar 2018, Tim Ressel wrote:
> Check me on something. The calc for error in cents for frequencies is:
>
> cents error = 1200 * log(freq2/freq1)

True, but that "log" needs to be a base 2 logarithm, which is not what
most calculators will give you.  With any other kind of logarithm, you
can do:

cents error = 1200 * log(freq2/freq1) / log(2)

> For volt/octave voltages is it:
>
> cents error = 1200 * (voltage2-voltage1) ??

Yes.

-- 
Matthew Skala
mskala at ansuz.sooke.bc.ca                 People before principles.
http://ansuz.sooke.bc.ca/



More information about the Synth-diy mailing list