c@33: c@33: #include "PiperExport.h" c@33: c@33: #include "PYinVamp.h" c@33: #include "YinVamp.h" c@33: #include "LocalCandidatePYIN.h" c@33: c@48: using piper_vamp_js::PiperAdapter; c@48: using piper_vamp_js::PiperPluginLibrary; c@33: c@48: static std::string libname("pyin"); c@33: c@48: static PiperAdapter c@48: pyinAdapter( c@48: libname, c@48: { "Pitch" }, c@48: { c@48: { "notes", c@48: { "http://purl.org/ontology/af/Note" } c@48: } c@48: } c@48: ); c@48: c@48: static PiperAdapter c@48: yinAdapter( c@48: libname, c@48: { "Pitch" }, c@48: { c@48: { "f0", c@48: { "http://purl.org/ontology/af/Pitch" } c@48: } c@48: } c@48: ); c@48: c@48: static PiperAdapter c@48: localCandidatePYinAdapter( c@48: libname, c@48: { "Pitch" } c@48: ); c@48: c@48: static PiperPluginLibrary library({ c@48: &pyinAdapter, c@48: &yinAdapter, c@48: &localCandidatePYinAdapter c@33: }); c@33: c@33: PIPER_EXPORT_LIBRARY(library); c@33: