view tipic/tipic.cpp @ 48:4d450d496793

Update .cpp main files with metadata from generator
author Chris Cannam <c.cannam@qmul.ac.uk>
date Wed, 14 Jun 2017 13:58:45 +0100
parents f08863ff8a02
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);