frequency from MIDI

Patty Huang pph@ccrma.Stanford.EDU
Wed, 14 May 2003 21:10:16 -0700 (PDT)


Hi,

In the STK include directory, there's a file SKINI.h which has a 
Midi2Pitch conversion array. Look for it at the bottom of the file. You 
just need to index the array at the MIDI note number.

Patty

On Wed, 14 May 2003, Bradley Zimring wrote:

> does anyone know how to translate the MIDI note number to frequency in STK
> a line of code would be most helpful or a link too.
> thanks
> 
> ----------------------------------------------------
> Bradley J Zimring	
> 2226 Wellesley / Palo Alto, CA  94306
> **********************************************************
> Center for Computer Research in Music and Acoustics
> http://www-ccrma.stanford.edu/~bzimring/music <=original compositions<=
>