Mercurial > hg > piper-vamp-js-builds
view silvet/silvet.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 |
line wrap: on
line source
#include "PiperExport.h" #include "Silvet.h" using piper_vamp_js::PiperAdapter; using piper_vamp_js::PiperPluginLibrary; static std::string libname("silvet"); static PiperAdapter<Silvet> silvetAdapter( libname, { "Notes" }, { { "notes", { "http://purl.org/ontology/af/Note" } }, { "onsets", { "http://purl.org/ontology/af/Onset" } }, { "onoffsets", { "" } }, { "timefreq", { "http://purl.org/ontology/af/Spectrogram" } }, { "pitchactivation", { "http://purl.org/ontology/af/Spectrogram" } }, { "chroma", { "http://purl.org/ontology/af/Chromagram" } }, { "templates", { "" } } } ); static PiperPluginLibrary library({ &silvetAdapter }); PIPER_EXPORT_LIBRARY(library);