Mercurial > hg > piper-vamp-js-builds
diff tipic/tipic.cpp @ 21:ac94242cf562
Update .cpp main files with metadata from generator
author | Chris Cannam |
---|---|
date | Wed, 14 Jun 2017 13:58:45 +0100 |
parents | 618391468c8e |
children |
line wrap: on
line diff
--- a/tipic/tipic.cpp Thu Mar 30 16:30:04 2017 +0100 +++ b/tipic/tipic.cpp Wed Jun 14 13:58:45 2017 +0100 @@ -1,4 +1,3 @@ -/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ #include "PiperExport.h" @@ -7,9 +6,42 @@ using piper_vamp_js::PiperAdapter; using piper_vamp_js::PiperPluginLibrary; -static std::string soname("tipic"); +static std::string libname("tipic"); -static PiperAdapter<Tipic> tipicAdapter(soname); +static PiperAdapter<Tipic> +tipicAdapter( + libname, + { "Visualisation" }, + { + { "pitch", + { "http://purl.org/ontology/af/Spectrogram" } + }, + { "pitch-smoothed", + { "" } + }, + { "chroma", + { "http://purl.org/ontology/af/Chromagram" } + }, + { "chroma-smoothed", + { "" } + }, + { "clp", + { "http://purl.org/ontology/af/Chromagram" } + }, + { "clp-smoothed", + { "" } + }, + { "cens", + { "" } + }, + { "crp", + { "http://purl.org/ontology/af/Chromagram" } + }, + { "crp-smoothed", + { "" } + } + } + ); static PiperPluginLibrary library({ &tipicAdapter