Mercurial > hg > piper-vamp-js-builds
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tuning-difference/tuning-difference.cpp Mon Jul 17 16:02:19 2017 +0100 @@ -0,0 +1,38 @@ + +#include "PiperExport.h" +#include "TuningDifference.h" + +using piper_vamp_js::PiperAdapter; +using piper_vamp_js::PiperPluginLibrary; + +static std::string libname("tuning-difference"); + +static PiperAdapter<TuningDifference> +tuningDifferenceAdapter( + libname, + { "Key and Tonality" }, + { + { "cents", + { "" } + }, + { "tuningfreq", + { "" } + }, + { "reffeature", + { "" } + }, + { "otherfeature", + { "" } + }, + { "rotfeature", + { "" } + } + } + ); + +static PiperPluginLibrary library({ + &tuningDifferenceAdapter +}); + +PIPER_EXPORT_LIBRARY(library); +