Mercurial > hg > silvet
comparison src/Silvet.h @ 302:cac0be04c43c livemode
Add output for the templates (probably temporarily)
author | Chris Cannam |
---|---|
date | Tue, 02 Dec 2014 17:13:10 +0000 |
parents | ebe5e0942bb8 |
children | f98ba4f47e49 |
comparison
equal
deleted
inserted
replaced
301:00fab71b80ec | 302:cac0be04c43c |
---|---|
119 Feature makeNoteFeature(int start, int end, int note, int shift, | 119 Feature makeNoteFeature(int start, int end, int note, int shift, |
120 int shiftCount, int velocity); | 120 int shiftCount, int velocity); |
121 | 121 |
122 float getInputGainAt(Vamp::RealTime t); | 122 float getInputGainAt(Vamp::RealTime t); |
123 | 123 |
124 FeatureSet transcribe(const Grid &); | 124 void insertTemplateFeatures(FeatureSet &); |
125 | |
126 void transcribe(const Grid &, FeatureSet &); | |
125 | 127 |
126 string noteName(int n, int shift, int shiftCount) const; | 128 string noteName(int n, int shift, int shiftCount) const; |
127 float noteFrequency(int n, int shift, int shiftCount) const; | 129 float noteFrequency(int n, int shift, int shiftCount) const; |
128 | 130 |
129 int m_blockSize; | 131 int m_blockSize; |
132 Vamp::RealTime m_startTime; | 134 Vamp::RealTime m_startTime; |
133 | 135 |
134 mutable int m_notesOutputNo; | 136 mutable int m_notesOutputNo; |
135 mutable int m_fcqOutputNo; | 137 mutable int m_fcqOutputNo; |
136 mutable int m_pitchOutputNo; | 138 mutable int m_pitchOutputNo; |
139 mutable int m_templateOutputNo; | |
137 }; | 140 }; |
138 | 141 |
139 #endif | 142 #endif |