Yahoo Groups archive

The Logic Off Topic list

Index last updated: 2026-04-28 23:27 UTC

Thread

Note to Frequency formula?

Note to Frequency formula?

2000-09-03 by Joeri Vankeirsbilck

Hi,

Could anyone give me the formula to go from Note to Frequency?
So, A4 = 440Hz, but I want to calculate F3 eg.

And an even funnier one: I need to calculate what note could fit in an
audio fragment of 256 samples at a sample frequency of 44100. What note
could this be? (I guess 44100/frequency would give me the amount of
samples, and that's why I need to find a way to calculate frequency out
of the note).

Any help appreciated. Thanks.

Bye,
Joeri

--
Joeri Vankeirsbilck
joeri@...

Belway Productions      -     http://www.belway.com
List-admin   Logic-users/SoundD*ver-users/Logic-TDM

Re: [L-OT] Note to Frequency formula?

2000-09-03 by Paul Najar

Joeri Vankeirsbilck on 4/9/00 9:52 AM, Joeri Vankeirsbilck at
joeri@... wrote:

> Hi,
> 
> Could anyone give me the formula to go from Note to Frequency?
> So, A4 = 440Hz, but I want to calculate F3 eg.

Try this chart....

for A=440 tuning:

A   55.00 110.00 220.00 440.00  880.00 1760.00 3520.00 7040.00
Bb  58.27 116.54 233.08 466.16  932.33 1864.66 3729.31 7458.62
B   61.74 123.47 246.94 493.88  987.77 1975.53 3951.07 7902.13
C   65.41 130.81 261.63 523.25 1046.50 2093.00 4186.01 8372.02
C#  69.30 138.59 277.18 554.37 1108.73 2217.46 4434.92 8869.84
D   73.42 146.83 293.66 587.33 1174.66 2349.32 4698.64 9397.27
Eb  77.78 155.56 311.13 622.25 1244.51 2489.02 4978.03 9956.06
E   82.41 164.81 329.63 659.26 1318.51 2637.02 5274.04
F   87.31 174.61 349.23 698.46 1396.91 2793.83 5587.65
F#  92.50 185.00 369.99 739.99 1479.98 2959.96 5919.91
G   98.00 196.00 392.00 783.99 1567.98 3135.96 6271.93
G# 103.83 207.65 415.30 830.61 1661.22 3322.44 6644.88



> And an even funnier one: I need to calculate what note could fit in an
> audio fragment of 256 samples at a sample frequency of 44100. What note
> could this be? (I guess 44100/frequency would give me the amount of
> samples, and that's why I need to find a way to calculate frequency out
> of the note).

You would need to express 256 as a percentage of 44100 then find the pitch
in hertz that when taken as the same percentage equals 256.

Re: [L-OT] Note to Frequency formula?

2000-09-03 by David Eager

44100/256 = 172.265625 = a slightlt flat F

Paul Najar wrote:

>
>

  [eGroups] My Groups | logic-ot Main Page | Start a new
            group!
>
> Joeri Vankeirsbilck on 4/9/00 9:52 AM, Joeri Vankeirsbilck at
> joeri@... wrote:
>
> > Hi,
> >
> > Could anyone give me the formula to go from Note to Frequency?
> > So, A4 = 440Hz, but I want to calculate F3 eg.
>
> Try this chart....
>
> for A=440 tuning:
>
> A   55.00 110.00 220.00 440.00  880.00 1760.00 3520.00 7040.00
> Bb  58.27 116.54 233.08 466.16  932.33 1864.66 3729.31 7458.62
> B   61.74 123.47 246.94 493.88  987.77 1975.53 3951.07 7902.13
> C   65.41 130.81 261.63 523.25 1046.50 2093.00 4186.01 8372.02
> C#  69.30 138.59 277.18 554.37 1108.73 2217.46 4434.92 8869.84
> D   73.42 146.83 293.66 587.33 1174.66 2349.32 4698.64 9397.27
> Eb  77.78 155.56 311.13 622.25 1244.51 2489.02 4978.03 9956.06
> E   82.41 164.81 329.63 659.26 1318.51 2637.02 5274.04
> F   87.31 174.61 349.23 698.46 1396.91 2793.83 5587.65
> F#  92.50 185.00 369.99 739.99 1479.98 2959.96 5919.91
> G   98.00 196.00 392.00 783.99 1567.98 3135.96 6271.93
> G# 103.83 207.65 415.30 830.61 1661.22 3322.44 6644.88
>
>
>
> > And an even funnier one: I need to calculate what note could fit in
> an
> > audio fragment of 256 samples at a sample frequency of 44100. What
> note
> > could this be? (I guess 44100/frequency would give me the amount of
> > samples, and that's why I need to find a way to calculate frequency
> out
> > of the note).
>
> You would need to express 256 as a percentage of 44100 then find the
> pitch
> in hertz that when taken as the same percentage equals 256.
>


[Non-text portions of this message have been removed]

Re: [L-OT] Note to Frequency formula?

2000-09-04 by Paul Najar

David Eager on 4/9/00 10:47 AM, David Eager at oink@... wrote:

> 44100/256 = 172.265625 = a slightlt flat F

This would be right for a pitch at one second long (44100 samples) but
Joeri's request was for a pitch only 256 samples long.

Re: [L-OT] Note to Frequency formula?

2000-09-04 by Joeri Vankeirsbilck

Hi Folks,

Thanks, but I have the charts as well. :-)
Anyone who's got the _formula's_?

Bye,
Joeri

Paul Najar wrote:

>
>

  [eGroups] My Groups | logic-ot Main Page | Start a new
            group!
>
> Joeri Vankeirsbilck on 4/9/00 9:52 AM, Joeri Vankeirsbilck at
> joeri@... wrote:
>
> > Hi,
> >
> > Could anyone give me the formula to go from Note to Frequency?
> > So, A4 = 440Hz, but I want to calculate F3 eg.
>
> Try this chart....
>
> for A=440 tuning:
>
> A   55.00 110.00 220.00 440.00  880.00 1760.00 3520.00 7040.00
> Bb  58.27 116.54 233.08 466.16  932.33 1864.66 3729.31 7458.62
> B   61.74 123.47 246.94 493.88  987.77 1975.53 3951.07 7902.13
> C   65.41 130.81 261.63 523.25 1046.50 2093.00 4186.01 8372.02
> C#  69.30 138.59 277.18 554.37 1108.73 2217.46 4434.92 8869.84
> D   73.42 146.83 293.66 587.33 1174.66 2349.32 4698.64 9397.27
> Eb  77.78 155.56 311.13 622.25 1244.51 2489.02 4978.03 9956.06
> E   82.41 164.81 329.63 659.26 1318.51 2637.02 5274.04
> F   87.31 174.61 349.23 698.46 1396.91 2793.83 5587.65
> F#  92.50 185.00 369.99 739.99 1479.98 2959.96 5919.91
> G   98.00 196.00 392.00 783.99 1567.98 3135.96 6271.93
> G# 103.83 207.65 415.30 830.61 1661.22 3322.44 6644.88
>
>
>
> > And an even funnier one: I need to calculate what note could fit in
> an
> > audio fragment of 256 samples at a sample frequency of 44100. What
> note
> > could this be? (I guess 44100/frequency would give me the amount of
> > samples, and that's why I need to find a way to calculate frequency
> out
> > of the note).
>
> You would need to express 256 as a percentage of 44100 then find the
> pitch
> in hertz that when taken as the same percentage equals 256.
>

--
Joeri Vankeirsbilck
joeri@...

Belway Productions      -     http://www.belway.com
List-admin   Logic-users/SoundD*ver-users/Logic-TDM



[Non-text portions of this message have been removed]

Re: [L-OT] Note to Frequency formula?

2000-09-04 by Andy Hardwake

> Could anyone give me the formula to go from Note to Frequency?
> So, A4 = 440Hz, but I want to calculate F3 eg.

Hi Joeri,

A#=A*2^(1/12), B=A#*2^(1/12) and so on. This way go to any note you want.
Hope this might help you.

Best,

Andy

Re: [L-OT] Note to Frequency formula?

2000-09-04 by Bob Helsloot

Equal temperament: each semitone has a frequency ratio of 1.059463.

Bob
bhelsloot@...
BOB'S MUSIC
Show quoted textHide quoted text
>Could anyone give me the formula to go from Note to Frequency?
>So, A4 = 440Hz, but I want to calculate F3 eg.
>
>And an even funnier one: I need to calculate what note could fit in an
>audio fragment of 256 samples at a sample frequency of 44100. What note
>could this be? (I guess 44100/frequency would give me the amount of
>samples, and that's why I need to find a way to calculate frequency out
>of the note).
>
>Any help appreciated. Thanks.

Re: [L-OT] Note to Frequency formula?

2000-09-04 by Joeri Vankeirsbilck

I know I shouldn't post stuff like this, but I really want to thank everyone
for the reactions!

And indeed, Andy's formula was what I was looking for... and I knew it wasn't
difficult but I could only come up with that thought AFTER seeing it. :-)))

Thanks!!!!

Bye,
Joeri

Andy Hardwake wrote:

> A#=A*2^(1/12), B=A#*2^(1/12) and so on. This way go to any note you want.
> Hope this might help you.

--
Joeri Vankeirsbilck
joeri@...

Belway Productions      -     http://www.belway.com
List-admin   Logic-users/SoundD*ver-users/Logic-TDM

Re: Re: Note to Frequency formula?

2000-09-04 by Zeek Duff

logic-ot@egroups.com wrote:

> Original Message:
>    Date: Mon, 04 Sep 2000 02:02:03 +0200
>    From: Joeri Vankeirsbilck <joeri@...>
> Subject: Re: Note to Frequency formula?
>
> Hi Folks,
>
> Thanks, but I have the charts as well. :-)
> Anyone who's got the _formula's_?

If you're yalking about the piano tuning formula starting from a perfect octave then tuning slighty flat descending and slightly sharp ascending, I have a hard copy of it around here somewhere that I'll look for, as well as do a quick search online.  There's also a study about the "coupled motion of strings" that it's based upon; but oddly enough, we discovered many moons ago that even a Rhodes benefits from this formula.  I have that in hard copy as well, and also don't know where it is
off the top of my herd.  No doubt in a box that still hasn't been unpacked since I moved in here 2 years ago.  Do not laugh.  :)  I'll look around on the web too, I have a pretty good idea of what to search for if that's what you meant, other than strict mathematical divisions.  Right now, I have a severe hangover.  The party was at MY house.  :-p  Oy vay...

...z


--All true wisdom is found on T-shirts.--anon

-- --=-- Boycott Bomb Factory Products!!!---=---

L.G. "Zeek" Duff
WHAT!Productions!
Blue Wall Studio
303.485.9438
ICQ#35974686

Re: [L-OT] Note to Frequency formula?

2000-09-05 by Dr.Disk

At 02:02 04-09-00 +0200, you wrote:
>Thanks, but I have the charts as well. :-)
>Anyone who's got the _formula's_?

...the formula for converting a _relative_ frequency ratio to a number of
semitones:

r=2^(s/12), where r is the ratio and s is # of semis (positive=up,
negative=down)

...or if you want cents: r=2^(c/1200)

...to go the other way you have to get into logarithms and my maths is a
bit rusty at that point (Hendrik Jan Veenstra should be able to help on
that one!, being a maths teacher if I remember rightly!)

Hope this helps
Steve
________________________________________________
- theSURGERY ......... Creative Sound Services -
- surgery@... ......... London, UK -

Re: [L-OT] Note to Frequency formula?

2000-09-05 by Hendrik Jan Veenstra

Thoughts from the mind of Joeri Vankeirsbilck, 04-09-2000:

><http://click.egroups.com/1/8864/1/_/607541/_/968025932/>Thanks, but 
>I have the charts as well. :-)
>Anyone who's got the _formula's_?

Each note's frequency is 2^(1/12) (2 to the power 1/12) times the 
frequency of the previous note.
So if A = 440 Hz,  then A# = 440 * 2^(1/12),  B = 440 * 2^(2/12),  etc.

If you call the A=440 note "note 0", so that A#=1, B=2, etc (and 
backwards: G#=-1, G=-2, etc), then a formula is
freq = 440 * 2^(n/12)   where 'n' is the note number  (1)

Or, with MIDI note numkbers (A = midinote 69 (or 57, depending upon tuning)):
freq = 440 * 2^((n-69)/12)   where 'n' is the MIDI note number  (2)

>And an even funnier one: I need to calculate what note could fit in an
>audio fragment of 256 samples at a sample frequency of 44100. What note
>could this be? (I guess 44100/frequency would give me the amount of
>samples, and that's why I need to find a way to calculate frequency out
>of the note).

I suppose you mean that one wave (cycle) is supposed to fit in 256 
samples, right?  In that case:

256 samples at 44100 Hz take up 256/44100 seconds.  If 'one wave' of 
the note/frequency is supposed to fit in this time, then it's easy to 
see that 44100/256 waves would fit in one second, so the frequency of 
the note you're looking for is 44100/256 (= 172.27 Hz).  Finding the 
corresponding MIDI note number from this frequency means applying the 
reverse of formula (2) above:

n = 69 + 12*log(freq/440)/log(2),  where n is the MIDI note number

Applying this to the freq = 172.27 gives n = 52.77.  MIDI note 53 is 
F, so a frequency of 172.27 is indeed a rather flat F, as someone 
else pointed out earlier.

If both sample frequency F and number of samples S are variables, 
then the entire formula would become:

n = 69 + 12*log(F/(S*440))/log(2)

Hope this helps.  If not, feel free to ask...


cheers,
Hendrik Jan

-- 
     Hendrik Jan Veenstra    ( h@... )

Re: [L-OT] Re: Re: Note to Frequency formula?

2000-09-05 by Marvin Humphrey

Zeek Duff...
> If you're yalking about the piano tuning formula starting from a perfect
> octave then tuning slighty flat descending and slightly sharp ascending

Zeek, I'd like to see this formula, if it's not too much trouble for you to
dig it up.

> There's also a study about the "coupled motion of
> strings" that it's based upon;

There's a bunch of papers listed at the bottom of this page that may be what
you're describing.

http://ptg.org/birkett/Default.htm

Do you recall under what umbrella organization the study that you're talking
about was published?  AES, Acoustical Society, etc.?

-- Marvin Humphrey 
Mastering Engineer...Graphic Designer, emeritus
Mr. Toad's, San Francisco, California, USA
CD design website - http://marvin.mrtoads.com

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.