comparison tuning-difference/tuning-difference.cpp @ 25:6bd90426715d

Add Tuning Difference plugin
author Chris Cannam
date Mon, 17 Jul 2017 16:02:19 +0100
parents
children
comparison
equal deleted inserted replaced
24:1e6940e42972 25:6bd90426715d
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