view tipic/tipic.cpp @ 50:ec5b5a9adac2

Overhaul to use Vext for external repos
author Chris Cannam <c.cannam@qmul.ac.uk>
date Wed, 28 Jun 2017 10:49:26 +0100
parents 4d450d496793
children
line wrap: on
line source

#include "PiperExport.h"

#include "TipicVampPlugin.h"

using piper_vamp_js::PiperAdapter;
using piper_vamp_js::PiperPluginLibrary;

static std::string libname("tipic");

static PiperAdapter<Tipic>
tipicAdapter(
    libname,
    { "Visualisation" },
    {
        { "pitch",
            { "http://purl.org/ontology/af/Spectrogram" }
        },
        { "pitch-smoothed",
            { "" }
        },
        { "chroma",
            { "http://purl.org/ontology/af/Chromagram" }
        },
        { "chroma-smoothed",
            { "" }
        },
        { "clp",
            { "http://purl.org/ontology/af/Chromagram" }
        },
        { "clp-smoothed",
            { "" }
        },
        { "cens",
            { "" }
        },
        { "crp",
            { "http://purl.org/ontology/af/Chromagram" }
        },
        { "crp-smoothed",
            { "" }
        }
    }
    );

static PiperPluginLibrary library({
    &tipicAdapter
});

PIPER_EXPORT_LIBRARY(library);