Chris@298: /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ Chris@298: Chris@298: /* Chris@298: Silvet Chris@298: Chris@298: A Vamp plugin for note transcription. Chris@298: Centre for Digital Music, Queen Mary University of London. Chris@298: Chris@298: This program is free software; you can redistribute it and/or Chris@298: modify it under the terms of the GNU General Public License as Chris@298: published by the Free Software Foundation; either version 2 of the Chris@298: License, or (at your option) any later version. See the file Chris@298: COPYING included with this distribution for more information. Chris@298: */ Chris@298: Chris@298: #ifndef SILVET_LIVE_INSTRUMENTS_H Chris@298: #define SILVET_LIVE_INSTRUMENTS_H Chris@298: Chris@298: #include "Instruments.h" Chris@298: Chris@298: /** Chris@298: * Adapt an instrument pack into a "live" version, with fewer bins per Chris@298: * octave and so lower CQ latency. Chris@298: */ Chris@298: class LiveAdapter Chris@298: { Chris@298: public: Chris@298: static InstrumentPack adapt(const InstrumentPack &original); Chris@298: static std::vector adaptAll(const std::vector &); Chris@298: }; Chris@298: Chris@298: #endif