comparison 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
comparison
equal deleted inserted replaced
20:c40d66bf4ba9 21:ac94242cf562
1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
2 1
3 #include "PiperExport.h" 2 #include "PiperExport.h"
4 3
5 #include "TipicVampPlugin.h" 4 #include "TipicVampPlugin.h"
6 5
7 using piper_vamp_js::PiperAdapter; 6 using piper_vamp_js::PiperAdapter;
8 using piper_vamp_js::PiperPluginLibrary; 7 using piper_vamp_js::PiperPluginLibrary;
9 8
10 static std::string soname("tipic"); 9 static std::string libname("tipic");
11 10
12 static PiperAdapter<Tipic> tipicAdapter(soname); 11 static PiperAdapter<Tipic>
12 tipicAdapter(
13 libname,
14 { "Visualisation" },
15 {
16 { "pitch",
17 { "http://purl.org/ontology/af/Spectrogram" }
18 },
19 { "pitch-smoothed",
20 { "" }
21 },
22 { "chroma",
23 { "http://purl.org/ontology/af/Chromagram" }
24 },
25 { "chroma-smoothed",
26 { "" }
27 },
28 { "clp",
29 { "http://purl.org/ontology/af/Chromagram" }
30 },
31 { "clp-smoothed",
32 { "" }
33 },
34 { "cens",
35 { "" }
36 },
37 { "crp",
38 { "http://purl.org/ontology/af/Chromagram" }
39 },
40 { "crp-smoothed",
41 { "" }
42 }
43 }
44 );
13 45
14 static PiperPluginLibrary library({ 46 static PiperPluginLibrary library({
15 &tipicAdapter 47 &tipicAdapter
16 }); 48 });
17 49