Mercurial > hg > piper-vamp-js-builds
view cepstral-pitchtracker/cepstral-pitchtracker.cpp @ 48:4d450d496793
Update .cpp main files with metadata from generator
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Wed, 14 Jun 2017 13:58:45 +0100 |
parents | 916d856b698c |
children |
line wrap: on
line source
#include "PiperExport.h" #include "CepstralPitchTracker.h" using piper_vamp_js::PiperAdapter; using piper_vamp_js::PiperPluginLibrary; static std::string libname("cepstral-pitchtracker"); static PiperAdapter<CepstralPitchTracker> cepstralPitchTrackerAdapter( libname, { "Notes" }, { { "f0", { "http://purl.org/ontology/af/Pitch" } }, { "notes", { "http://purl.org/ontology/af/Note" } } } ); static PiperPluginLibrary library({ &cepstralPitchTrackerAdapter }); PIPER_EXPORT_LIBRARY(library);