Mercurial > hg > silvet
diff src/Silvet.h @ 309:07ee4ebea57c
Add chromagram output
author | Chris Cannam |
---|---|
date | Mon, 19 Jan 2015 11:23:07 +0000 |
parents | 19fd6cb033c7 |
children | 99af9557dfc1 |
line wrap: on
line diff
--- a/src/Silvet.h Fri Dec 05 16:46:57 2014 +0000 +++ b/src/Silvet.h Mon Jan 19 11:23:07 2015 +0000 @@ -100,7 +100,9 @@ void emitNote(int start, int end, int note, int shiftCount, FeatureList ¬eFeatures); - + + Vamp::RealTime getColumnTimestamp(int column); + Feature makeNoteFeature(int start, int end, int note, int shift, int shiftCount, int velocity); @@ -108,6 +110,7 @@ FeatureSet transcribe(const Grid &); + string chromaName(int n) const; string noteName(int n, int shift, int shiftCount) const; float noteFrequency(int n, int shift, int shiftCount) const; @@ -119,6 +122,7 @@ mutable int m_notesOutputNo; mutable int m_fcqOutputNo; mutable int m_pitchOutputNo; + mutable int m_chromaOutputNo; }; #endif