annotate nnls-chroma/nnls-chroma.cpp @ 35:e9246f5afbf3

Add NNLS Chroma build
author Chris Cannam <c.cannam@qmul.ac.uk>
date Fri, 11 Nov 2016 11:30:59 +0000
parents
children ac94242cf562
rev   line source
c@35 1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
c@35 2
c@35 3 #include "PiperExport.h"
c@35 4
c@35 5 #include "NNLSChroma.h"
c@35 6 #include "Chordino.h"
c@35 7 #include "Tuning.h"
c@35 8
c@35 9 std::string soname("nnls-chroma");
c@35 10
c@35 11 piper_vamp_js::PiperAdapter<NNLSChroma> chromaAdapter(soname);
c@35 12 piper_vamp_js::PiperAdapter<Chordino> chordinoAdapter(soname);
c@35 13 piper_vamp_js::PiperAdapter<Tuning> tuningAdapter(soname);
c@35 14
c@35 15 piper_vamp_js::PiperPluginLibrary library({
c@35 16 &chromaAdapter, &chordinoAdapter, &tuningAdapter
c@35 17 });
c@35 18
c@35 19 PIPER_EXPORT_LIBRARY(library);
c@35 20