Mercurial > hg > piper-vamp-js-builds
annotate cepstral-pitchtracker/cepstral-pitchtracker.cpp @ 18:0253f7749493
Add cepstral pitch tracker
author | Chris Cannam |
---|---|
date | Thu, 23 Mar 2017 14:03:38 +0000 |
parents | |
children | ac94242cf562 |
rev | line source |
---|---|
Chris@18 | 1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ |
Chris@18 | 2 |
Chris@18 | 3 #include "PiperExport.h" |
Chris@18 | 4 |
Chris@18 | 5 #include "CepstralPitchTracker.h" |
Chris@18 | 6 |
Chris@18 | 7 using piper_vamp_js::PiperAdapter; |
Chris@18 | 8 using piper_vamp_js::PiperPluginLibrary; |
Chris@18 | 9 |
Chris@18 | 10 static std::string soname("cepstral-pitchtracker"); |
Chris@18 | 11 |
Chris@18 | 12 static PiperAdapter<CepstralPitchTracker> cepstralPitchTrackerAdapter(soname); |
Chris@18 | 13 |
Chris@18 | 14 static PiperPluginLibrary library({ |
Chris@18 | 15 &cepstralPitchTrackerAdapter |
Chris@18 | 16 }); |
Chris@18 | 17 |
Chris@18 | 18 PIPER_EXPORT_LIBRARY(library); |
Chris@18 | 19 |