[LAU] Calculating the sine wave frequencies from the midi key
Fons Adriaensen
fons at kokkinizita.net
Sun Oct 19 13:37:15 EDT 2008
On Sun, Oct 19, 2008 at 08:31:36PM +0300, Arda Eden wrote:
> Thanks Fons,
> It's clear now.
It's a somewhat convolved way to write this.
A bit simpler would be
F = 440 * pow (2, (i - 57) / 12.0)
since note number 57 is the 440 Hz 'A'.
Ciao,
--
FA
Laboratorio di Acustica ed Elettroacustica
Parma, Italia
Lascia la spina, cogli la rosa.
More information about the Linux-audio-user
mailing list