Mercurial > hg > svcore
diff base/Pitch.h @ 1429:48e9f538e6e9
Untabify
author | Chris Cannam |
---|---|
date | Thu, 01 Mar 2018 18:02:22 +0000 |
parents | 88b54a185a0a |
children | ad5f892c0c4d |
line wrap: on
line diff
--- a/base/Pitch.h Thu Mar 01 14:43:40 2018 +0000 +++ b/base/Pitch.h Thu Mar 01 18:02:22 2018 +0000 @@ -31,8 +31,8 @@ * specified in the application preferences (default 440Hz). */ static double getFrequencyForPitch(int midiPitch, - double centsOffset = 0, - double concertA = 0.0); + double centsOffset = 0, + double concertA = 0.0); /** * Return the nearest MIDI pitch to the given frequency. @@ -47,16 +47,16 @@ * specified in the application preferences (default 440Hz). */ static int getPitchForFrequency(double frequency, - double *centsOffsetReturn = 0, - double concertA = 0.0); + double *centsOffsetReturn = 0, + double concertA = 0.0); /** * Compatibility version of getPitchForFrequency accepting float * pointer argument. */ static int getPitchForFrequency(double frequency, - float *centsOffsetReturn, - double concertA = 0.0) { + float *centsOffsetReturn, + double concertA = 0.0) { double c; int p = getPitchForFrequency(frequency, &c, concertA); if (centsOffsetReturn) *centsOffsetReturn = float(c); @@ -127,8 +127,8 @@ * e.g. Bb3 instead of A#3. */ static QString getPitchLabel(int midiPitch, - double centsOffset = 0, - bool useFlats = false); + double centsOffset = 0, + bool useFlats = false); /** * Return a string describing the nearest MIDI pitch to the given @@ -142,8 +142,8 @@ * e.g. Bb3 instead of A#3. */ static QString getPitchLabelForFrequency(double frequency, - double concertA = 0.0, - bool useFlats = false); + double concertA = 0.0, + bool useFlats = false); /** * Return a string describing the given pitch range in octaves,