view cepstral-pitchtracker/cepstral-pitchtracker.cpp @ 56:5e9027b32179 tip master

Fixes for updated subrepos
author Chris Cannam <cannam@all-day-breakfast.com>
date Wed, 16 May 2018 15:51:14 +0100
parents 4d450d496793
children
line wrap: on
line source

#include "PiperExport.h"

#include "CepstralPitchTracker.h"

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

static std::string libname("cepstral-pitchtracker");

static PiperAdapter<CepstralPitchTracker>
cepstralPitchTrackerAdapter(
    libname,
    { "Notes" },
    {
        { "f0",
            { "http://purl.org/ontology/af/Pitch" }
        },
        { "notes",
            { "http://purl.org/ontology/af/Note" }
        }
    }
    );

static PiperPluginLibrary library({
    &cepstralPitchTrackerAdapter
});

PIPER_EXPORT_LIBRARY(library);