Mercurial > hg > piper-vamp-js-builds
annotate tipic/tipic.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@43 | 1 |
c@43 | 2 #include "PiperExport.h" |
c@43 | 3 |
c@43 | 4 #include "TipicVampPlugin.h" |
c@43 | 5 |
c@43 | 6 using piper_vamp_js::PiperAdapter; |
c@43 | 7 using piper_vamp_js::PiperPluginLibrary; |
c@43 | 8 |
c@48 | 9 static std::string libname("tipic"); |
c@43 | 10 |
c@48 | 11 static PiperAdapter<Tipic> |
c@48 | 12 tipicAdapter( |
c@48 | 13 libname, |
c@48 | 14 { "Visualisation" }, |
c@48 | 15 { |
c@48 | 16 { "pitch", |
c@48 | 17 { "http://purl.org/ontology/af/Spectrogram" } |
c@48 | 18 }, |
c@48 | 19 { "pitch-smoothed", |
c@48 | 20 { "" } |
c@48 | 21 }, |
c@48 | 22 { "chroma", |
c@48 | 23 { "http://purl.org/ontology/af/Chromagram" } |
c@48 | 24 }, |
c@48 | 25 { "chroma-smoothed", |
c@48 | 26 { "" } |
c@48 | 27 }, |
c@48 | 28 { "clp", |
c@48 | 29 { "http://purl.org/ontology/af/Chromagram" } |
c@48 | 30 }, |
c@48 | 31 { "clp-smoothed", |
c@48 | 32 { "" } |
c@48 | 33 }, |
c@48 | 34 { "cens", |
c@48 | 35 { "" } |
c@48 | 36 }, |
c@48 | 37 { "crp", |
c@48 | 38 { "http://purl.org/ontology/af/Chromagram" } |
c@48 | 39 }, |
c@48 | 40 { "crp-smoothed", |
c@48 | 41 { "" } |
c@48 | 42 } |
c@48 | 43 } |
c@48 | 44 ); |
c@43 | 45 |
c@43 | 46 static PiperPluginLibrary library({ |
c@43 | 47 &tipicAdapter |
c@43 | 48 }); |
c@43 | 49 |
c@43 | 50 PIPER_EXPORT_LIBRARY(library); |
c@43 | 51 |