Mercurial > hg > qm-dsp
diff base/Pitch.h @ 505:930b5b0f707d
Merge branch 'codestyle-and-tidy'
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Wed, 05 Jun 2019 12:55:15 +0100 |
parents | 701233f8ed41 |
children |
line wrap: on
line diff
--- a/base/Pitch.h Thu May 30 16:18:13 2019 +0100 +++ b/base/Pitch.h Wed Jun 05 12:55:15 2019 +0100 @@ -12,8 +12,8 @@ COPYING included with this distribution for more information. */ -#ifndef _PITCH_H_ -#define _PITCH_H_ +#ifndef QM_DSP_PITCH_H +#define QM_DSP_PITCH_H /** * Convert between musical pitch (i.e. MIDI pitch number) and @@ -23,12 +23,12 @@ { public: static float getFrequencyForPitch(int midiPitch, - float centsOffset = 0, - float concertA = 440.0); + float centsOffset = 0, + float concertA = 440.0); static int getPitchForFrequency(float frequency, - float *centsOffsetReturn = 0, - float concertA = 440.0); + float *centsOffsetReturn = 0, + float concertA = 440.0); };