view 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
line wrap: on
line source

#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);