Mercurial > hg > silvet
diff src/Silvet.h @ 167:416b555df3b2 finetune
More on returning fine tuning (but we're treating different shifts of the same pitch as different notes at the moment which is not right)
author | Chris Cannam |
---|---|
date | Tue, 20 May 2014 17:49:07 +0100 |
parents | 7979fa40c9f7 |
children | 51bd3d833db8 |
line wrap: on
line diff
--- a/src/Silvet.h Tue May 20 17:34:49 2014 +0100 +++ b/src/Silvet.h Tue May 20 17:49:07 2014 +0100 @@ -93,12 +93,13 @@ int shiftCount, double gain); // -> piano roll column - FeatureList noteTrack(const map<int, double> &pianoRollColumn); + FeatureList noteTrack(const map<int, double> &pianoRollColumn, + int shiftCount); FeatureSet transcribe(const Grid &); string noteName(int n) const; - float noteFrequency(int n) const; + float noteFrequency(int n, int shiftCount) const; int m_blockSize; int m_columnCount;