comparison base/Pitch.h @ 906:654990320867

Merge from 899:bc0ff66102a8
author Chris Cannam
date Wed, 07 May 2014 15:17:51 +0100
parents 451f7f3ab6e7
children 1f62a890da58
comparison
equal deleted inserted replaced
905:1f94f3776158 906:654990320867
69 float *centsOffsetReturn = 0, 69 float *centsOffsetReturn = 0,
70 float concertA = 0.0); 70 float concertA = 0.0);
71 71
72 /** 72 /**
73 * Return a string describing the given MIDI pitch, with optional 73 * Return a string describing the given MIDI pitch, with optional
74 * cents offset. This consists of the note name, octave number 74 * cents offset. This consists of the note name, octave number,
75 * (with MIDI pitch 0 having octave number -2), and optional 75 * and optional cents. The octave numbering system is based on the
76 * cents. 76 * application preferences (default is C4 = middle C, though in
77 * previous SV releases that was C3).
77 * 78 *
78 * For example, "A#3" (A# in octave 3) or "C2-12c" (C in octave 2, 79 * For example, "A#3" (A# in octave 3) or "C2-12c" (C in octave 2,
79 * minus 12 cents). 80 * minus 12 cents).
80 * 81 *
81 * If useFlats is true, spell notes with flats instead of sharps, 82 * If useFlats is true, spell notes with flats instead of sharps,