Mercurial > hg > piper-vamp-js-builds
annotate 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 |
rev | line source |
---|---|
c@27 | 1 |
c@39 | 2 #include "PiperExport.h" |
c@48 | 3 |
c@27 | 4 #include "Silvet.h" |
c@27 | 5 |
c@48 | 6 using piper_vamp_js::PiperAdapter; |
c@48 | 7 using piper_vamp_js::PiperPluginLibrary; |
c@27 | 8 |
c@48 | 9 static std::string libname("silvet"); |
c@48 | 10 |
c@48 | 11 static PiperAdapter<Silvet> |
c@48 | 12 silvetAdapter( |
c@48 | 13 libname, |
c@48 | 14 { "Notes" }, |
c@48 | 15 { |
c@48 | 16 { "notes", |
c@48 | 17 { "http://purl.org/ontology/af/Note" } |
c@48 | 18 }, |
c@48 | 19 { "onsets", |
c@48 | 20 { "http://purl.org/ontology/af/Onset" } |
c@48 | 21 }, |
c@48 | 22 { "onoffsets", |
c@48 | 23 { "" } |
c@48 | 24 }, |
c@48 | 25 { "timefreq", |
c@48 | 26 { "http://purl.org/ontology/af/Spectrogram" } |
c@48 | 27 }, |
c@48 | 28 { "pitchactivation", |
c@48 | 29 { "http://purl.org/ontology/af/Spectrogram" } |
c@48 | 30 }, |
c@48 | 31 { "chroma", |
c@48 | 32 { "http://purl.org/ontology/af/Chromagram" } |
c@48 | 33 }, |
c@48 | 34 { "templates", |
c@48 | 35 { "" } |
c@48 | 36 } |
c@48 | 37 } |
c@48 | 38 ); |
c@48 | 39 |
c@48 | 40 static PiperPluginLibrary library({ |
c@48 | 41 &silvetAdapter |
c@48 | 42 }); |
c@27 | 43 |
c@39 | 44 PIPER_EXPORT_LIBRARY(library); |
c@27 | 45 |