[PD] midi to freq equation

CK x at meta.lo-res.org
Mon Sep 23 18:43:48 CEST 2002


I read:
> someone please give me the equation for miditofreq, please?

from x_acoustics.c:

> float mtof(float f)
> {
>     if (f <= -1500) return(0);
>     else if (f > 1499) return(mtof(1499));
>     else return (8.17579891564 * exp(.0577622650 * f));
> }

regards,

x

-- 
chris at lo-res.org	Postmodernism is german romanticism with better
http://pilot.fm/	special effects. (Jeff Keuss / via ctheory.com)




More information about the Pd-list mailing list