Mercurial > hg > piper-vamp-js-builds
comparison tuning-difference/tuning-difference.cpp @ 52:ce1f0e2a1f75
Add Tuning Difference plugin
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Mon, 17 Jul 2017 16:02:19 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
51:2b8cd2b8cfc0 | 52:ce1f0e2a1f75 |
---|---|
1 | |
2 #include "PiperExport.h" | |
3 #include "TuningDifference.h" | |
4 | |
5 using piper_vamp_js::PiperAdapter; | |
6 using piper_vamp_js::PiperPluginLibrary; | |
7 | |
8 static std::string libname("tuning-difference"); | |
9 | |
10 static PiperAdapter<TuningDifference> | |
11 tuningDifferenceAdapter( | |
12 libname, | |
13 { "Key and Tonality" }, | |
14 { | |
15 { "cents", | |
16 { "" } | |
17 }, | |
18 { "tuningfreq", | |
19 { "" } | |
20 }, | |
21 { "reffeature", | |
22 { "" } | |
23 }, | |
24 { "otherfeature", | |
25 { "" } | |
26 }, | |
27 { "rotfeature", | |
28 { "" } | |
29 } | |
30 } | |
31 ); | |
32 | |
33 static PiperPluginLibrary library({ | |
34 &tuningDifferenceAdapter | |
35 }); | |
36 | |
37 PIPER_EXPORT_LIBRARY(library); | |
38 |