[sdiy] math question - somewhat OT
Toby Paddock
tpaddock at seanet.com
Tue Sep 21 13:41:04 CEST 2004
(I see it's been answered, but since I already wrote this, I'm sending it
anyway)
I'm probably the last person that should be trying to answer a math question
but...
If you want the linear scale to be octaves:
For ref_freq being where you want the scale to start.
octaves= ln(frequency/ref_freq)/ln(2)
I THINK you could change the (2) to (10) for decades.
Someone please correct me if I'm wrong.
Toby
> Hi folks,
>
> I have a blank.
> I want to represent frequencies (partials of a sound
> for instance) on a linear scale (instead of exponential).
> IOW the distance between the following values :
> 220, 440, 880, 1760 should be equal (but the freqs
> aren't always perfect harmonics values).
> How do I compute that ?
>
> Thanks,
> JB
>
>
More information about the Synth-diy
mailing list