[sdiy] math question - somewhat OT

Scott Gravenhorst music.maker at gte.net
Tue Sep 21 22:24:21 CEST 2004


         (n/12+v)
f = s * 2

where f is frequency in Hz, s is scale factor (constant), n
is an integer note number (increments 1 for each semitone)
and v is an integer representing an octave.

The constant value s can be set so that particular values of
n and v give the standard frequency values such as 440 Hz.

jbv <jbv.silences at club-internet.fr> wrote:
>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
>

---------------------------------------------------------
- Where merit is not rewarded, excellence fades.
- Hydrogen is pointless without solar.
- What good are laws that only lawyers understand?
- The media's credibility should always be questioned.
- The only good terrorist is a dead terrorist.
- Governments do nothing well, save collect taxes.

-- Scott Gravenhorst | LegoManiac / Lego Trains / RIS 1.5
-- Linux Rex         | RedWebMail by RedStarWare
-- FatMan: home1.gte.net/res0658s/FatMan/
-- NonFatMan: home1.gte.net/res0658s/electronics/
-- Autodidactic Master of Arcane and Hidden Knowledge.




More information about the Synth-diy mailing list