Re: [LAU] Calculating the sine wave frequencies from the midi key

From: Fons Adriaensen <fons@email-addr-hidden>
Date: Sun Oct 19 2008 - 20:37:15 EEST

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.
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
Received on Mon Oct 20 00:15:03 2008

This archive was generated by hypermail 2.1.8 : Mon Oct 20 2008 - 00:15:03 EEST