comparison base/Pitch.h @ 1023:1f62a890da58

Start adding piano note
author Chris Cannam
date Tue, 02 Dec 2014 13:50:49 +0000
parents 451f7f3ab6e7
children d1ce7a4a920b
comparison
equal deleted inserted replaced
1022:eecf544bed92 1023:1f62a890da58
83 * e.g. Bb3 instead of A#3. 83 * e.g. Bb3 instead of A#3.
84 */ 84 */
85 static QString getPitchLabel(int midiPitch, 85 static QString getPitchLabel(int midiPitch,
86 float centsOffset = 0, 86 float centsOffset = 0,
87 bool useFlats = false); 87 bool useFlats = false);
88 88
89 /** 89 /**
90 * Return a string describing the nearest MIDI pitch to the given 90 * Return a string describing the nearest MIDI pitch to the given
91 * frequency, with cents offset. 91 * frequency, with cents offset.
92 * 92 *
93 * If concertA is non-zero, use that as the reference frequency 93 * If concertA is non-zero, use that as the reference frequency