1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#ifndef SIMPL_TWM_H #define SIMPL_TWM_H #include <map> #include <vector> #include "base.h" namespace simpl { int best_match(sample freq, std::vector<sample> candidates); sample twm(Peaks peaks, sample f_min=20.0, sample f_max=3000.0, sample f_step=10.0); } #endif