SpectMorph
smmorphutils.hh
1 // Licensed GNU LGPL v3 or later: http://www.gnu.org/licenses/lgpl.html
2 
3 #ifndef SPECTMORPH_MORPH_UTILS_HH
4 #define SPECTMORPH_MORPH_UTILS_HH
5 
6 #include <algorithm>
7 
8 namespace SpectMorph
9 {
10 
11 namespace MorphUtils
12 {
13 
14 struct FreqState
15 {
16  float freq_f;
17  int used;
18 };
19 
20 bool find_match (float freq, const FreqState *freq_state, size_t freq_state_size, size_t *index);
21 void init_freq_state (const std::vector<uint16_t>& fint, FreqState *freq_state);
22 
23 }
24 
25 }
26 
27 #endif
Definition: smmorphutils.hh:14
Definition: smaudio.hh:15