34 float centsOffset = 0,
35 float concertA = 0.0);
50 float *centsOffsetReturn = 0,
51 float concertA = 0.0);
69 float *centsOffsetReturn = 0,
70 float concertA = 0.0);
86 float centsOffset = 0,
87 bool useFlats =
false);
101 float concertA = 0.0,
102 bool useFlats =
false);
122 float concertA = 0.0);
static QString getPitchLabelForFrequency(float frequency, float concertA=0.0, bool useFlats=false)
Return a string describing the nearest MIDI pitch to the given frequency, with cents offset.
static QString getPitchLabel(int midiPitch, float centsOffset=0, bool useFlats=false)
Return a string describing the given MIDI pitch, with optional cents offset.
static int getPitchForFrequency(float frequency, float *centsOffsetReturn=0, float concertA=0.0)
Return the nearest MIDI pitch to the given frequency.
static int getPitchForFrequencyDifference(float frequencyA, float frequencyB, float *centsOffsetReturn=0, float concertA=0.0)
Return the nearest MIDI pitch range to the given frequency range, that is, the difference in MIDI pit...
static QString getLabelForPitchRange(int semis, float cents=0)
Return a string describing the given pitch range in octaves, semitones and cents.
static float getFrequencyForPitch(int midiPitch, float centsOffset=0, float concertA=0.0)
Return the frequency at the given MIDI pitch plus centsOffset cents (1/100ths of a semitone).
static bool isFrequencyInMidiRange(float frequency, float concertA=0.0)
Return true if the given frequency falls within the range of MIDI note pitches, plus or minus half a ...