diff options
Diffstat (limited to 'src/mq/twm.h')
-rw-r--r-- | src/mq/twm.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/mq/twm.h b/src/mq/twm.h new file mode 100644 index 0000000..e266861 --- /dev/null +++ b/src/mq/twm.h @@ -0,0 +1,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 |