Convert between musical pitch (i.e. More...

#include <Pitch.h>

Static Public Member Functions

static float getFrequencyForPitch (int midiPitch, float centsOffset=0, float concertA=440.0)
 
static int getPitchForFrequency (float frequency, float *centsOffsetReturn=0, float concertA=440.0)
 

Detailed Description

Convert between musical pitch (i.e.

MIDI pitch number) and fundamental frequency.

Definition at line 22 of file Pitch.h.

Member Function Documentation

float Pitch::getFrequencyForPitch ( int  midiPitch,
float  centsOffset = 0,
float  concertA = 440.0 
)
static

Definition at line 20 of file Pitch.cpp.

Referenced by GetKeyMode::GetKeyMode().

int Pitch::getPitchForFrequency ( float  frequency,
float *  centsOffsetReturn = 0,
float  concertA = 440.0 
)
static

Definition at line 29 of file Pitch.cpp.


The documentation for this class was generated from the following files: