Mercurial > hg > silvet
comparison src/Silvet.h @ 309:07ee4ebea57c
Add chromagram output
author | Chris Cannam |
---|---|
date | Mon, 19 Jan 2015 11:23:07 +0000 |
parents | 19fd6cb033c7 |
children | 99af9557dfc1 |
comparison
equal
deleted
inserted
replaced
305:04a3c152e590 | 309:07ee4ebea57c |
---|---|
98 | 98 |
99 FeatureList noteTrack(int shiftCount); | 99 FeatureList noteTrack(int shiftCount); |
100 | 100 |
101 void emitNote(int start, int end, int note, int shiftCount, | 101 void emitNote(int start, int end, int note, int shiftCount, |
102 FeatureList ¬eFeatures); | 102 FeatureList ¬eFeatures); |
103 | 103 |
104 Vamp::RealTime getColumnTimestamp(int column); | |
105 | |
104 Feature makeNoteFeature(int start, int end, int note, int shift, | 106 Feature makeNoteFeature(int start, int end, int note, int shift, |
105 int shiftCount, int velocity); | 107 int shiftCount, int velocity); |
106 | 108 |
107 float getInputGainAt(Vamp::RealTime t); | 109 float getInputGainAt(Vamp::RealTime t); |
108 | 110 |
109 FeatureSet transcribe(const Grid &); | 111 FeatureSet transcribe(const Grid &); |
110 | 112 |
113 string chromaName(int n) const; | |
111 string noteName(int n, int shift, int shiftCount) const; | 114 string noteName(int n, int shift, int shiftCount) const; |
112 float noteFrequency(int n, int shift, int shiftCount) const; | 115 float noteFrequency(int n, int shift, int shiftCount) const; |
113 | 116 |
114 int m_blockSize; | 117 int m_blockSize; |
115 int m_columnCount; | 118 int m_columnCount; |
117 Vamp::RealTime m_startTime; | 120 Vamp::RealTime m_startTime; |
118 | 121 |
119 mutable int m_notesOutputNo; | 122 mutable int m_notesOutputNo; |
120 mutable int m_fcqOutputNo; | 123 mutable int m_fcqOutputNo; |
121 mutable int m_pitchOutputNo; | 124 mutable int m_pitchOutputNo; |
125 mutable int m_chromaOutputNo; | |
122 }; | 126 }; |
123 | 127 |
124 #endif | 128 #endif |