|
qm-dsp
1.8
|
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) |
Convert between musical pitch (i.e.
MIDI pitch number) and fundamental frequency.
| 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] |