annotate src/libmain.cpp @ 135:8db5e4ab56ce

Ground-truth data in CSV and lab format, converted from the MIDI using Sonic Visualiser and then to lab using the script here
author Chris Cannam
date Thu, 08 May 2014 12:59:09 +0100
parents c6d230c31713
children
rev   line source
Chris@31 1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
Chris@31 2
Chris@31 3 /*
Chris@31 4 Silvet
Chris@31 5
Chris@31 6 A Vamp plugin for note transcription.
Chris@31 7 Centre for Digital Music, Queen Mary University of London.
Chris@31 8
Chris@31 9 This program is free software; you can redistribute it and/or
Chris@31 10 modify it under the terms of the GNU General Public License as
Chris@31 11 published by the Free Software Foundation; either version 2 of the
Chris@31 12 License, or (at your option) any later version. See the file
Chris@31 13 COPYING included with this distribution for more information.
Chris@31 14 */
Chris@31 15
Chris@31 16 #include <vamp/vamp.h>
Chris@31 17 #include <vamp-sdk/PluginAdapter.h>
Chris@31 18
Chris@31 19 #include "Silvet.h"
Chris@31 20
Chris@31 21 static Vamp::PluginAdapter<Silvet> silvetAdapter;
Chris@31 22
Chris@31 23 const VampPluginDescriptor *
Chris@31 24 vampGetPluginDescriptor(unsigned int version, unsigned int index)
Chris@31 25 {
Chris@31 26 if (version < 1) return 0;
Chris@31 27
Chris@31 28 switch (index) {
Chris@31 29 case 0: return silvetAdapter.getDescriptor();
Chris@31 30 default: return 0;
Chris@31 31 }
Chris@31 32 }
Chris@31 33
Chris@31 34