annotate src/LiveInstruments.h @ 372:af71cbdab621 tip

Update bqvec code
author Chris Cannam
date Tue, 19 Nov 2019 10:13:32 +0000
parents ebe5e0942bb8
children
rev   line source
Chris@298 1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
Chris@298 2
Chris@298 3 /*
Chris@298 4 Silvet
Chris@298 5
Chris@298 6 A Vamp plugin for note transcription.
Chris@298 7 Centre for Digital Music, Queen Mary University of London.
Chris@298 8
Chris@298 9 This program is free software; you can redistribute it and/or
Chris@298 10 modify it under the terms of the GNU General Public License as
Chris@298 11 published by the Free Software Foundation; either version 2 of the
Chris@298 12 License, or (at your option) any later version. See the file
Chris@298 13 COPYING included with this distribution for more information.
Chris@298 14 */
Chris@298 15
Chris@298 16 #ifndef SILVET_LIVE_INSTRUMENTS_H
Chris@298 17 #define SILVET_LIVE_INSTRUMENTS_H
Chris@298 18
Chris@298 19 #include "Instruments.h"
Chris@298 20
Chris@298 21 /**
Chris@298 22 * Adapt an instrument pack into a "live" version, with fewer bins per
Chris@298 23 * octave and so lower CQ latency.
Chris@298 24 */
Chris@298 25 class LiveAdapter
Chris@298 26 {
Chris@298 27 public:
Chris@298 28 static InstrumentPack adapt(const InstrumentPack &original);
Chris@298 29 static std::vector<InstrumentPack> adaptAll(const std::vector<InstrumentPack> &);
Chris@298 30 };
Chris@298 31
Chris@298 32 #endif