Mercurial > hg > piper-vamp-js-builds
annotate cepstral-pitchtracker/cepstral-pitchtracker.cpp @ 56:5e9027b32179 tip master
Fixes for updated subrepos
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Wed, 16 May 2018 15:51:14 +0100 |
parents | 4d450d496793 |
children |
rev | line source |
---|---|
c@45 | 1 |
c@45 | 2 #include "PiperExport.h" |
c@45 | 3 |
c@45 | 4 #include "CepstralPitchTracker.h" |
c@45 | 5 |
c@45 | 6 using piper_vamp_js::PiperAdapter; |
c@45 | 7 using piper_vamp_js::PiperPluginLibrary; |
c@45 | 8 |
c@48 | 9 static std::string libname("cepstral-pitchtracker"); |
c@45 | 10 |
c@48 | 11 static PiperAdapter<CepstralPitchTracker> |
c@48 | 12 cepstralPitchTrackerAdapter( |
c@48 | 13 libname, |
c@48 | 14 { "Notes" }, |
c@48 | 15 { |
c@48 | 16 { "f0", |
c@48 | 17 { "http://purl.org/ontology/af/Pitch" } |
c@48 | 18 }, |
c@48 | 19 { "notes", |
c@48 | 20 { "http://purl.org/ontology/af/Note" } |
c@48 | 21 } |
c@48 | 22 } |
c@48 | 23 ); |
c@45 | 24 |
c@45 | 25 static PiperPluginLibrary library({ |
c@45 | 26 &cepstralPitchTrackerAdapter |
c@45 | 27 }); |
c@45 | 28 |
c@45 | 29 PIPER_EXPORT_LIBRARY(library); |
c@45 | 30 |