annotate Tuning.h @ 184:82d5d11b68d7 tip

Update library URI so it's not document-local
author Chris Cannam
date Wed, 22 Apr 2020 14:21:25 +0100
parents 0bf1486dc674
children
rev   line source
Chris@23 1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
matthiasm@0 2
Chris@35 3 /*
Chris@35 4 NNLS-Chroma / Chordino
matthiasm@0 5
Chris@35 6 Audio feature extraction plugins for chromagram and chord
Chris@35 7 estimation.
Chris@35 8
Chris@35 9 Centre for Digital Music, Queen Mary University of London.
Chris@35 10 This file copyright 2008-2010 Matthias Mauch and QMUL.
Chris@35 11
Chris@35 12 This program is free software; you can redistribute it and/or
Chris@35 13 modify it under the terms of the GNU General Public License as
Chris@35 14 published by the Free Software Foundation; either version 2 of the
Chris@35 15 License, or (at your option) any later version. See the file
Chris@35 16 COPYING included with this distribution for more information.
Chris@35 17 */
Chris@35 18
Chris@35 19 #ifndef _TUNING_
Chris@35 20 #define _TUNING_
Chris@35 21
Chris@35 22 #include "NNLSBase.h"
Chris@35 23
matthiasm@0 24 using namespace std;
matthiasm@0 25
matthiasm@0 26
Chris@35 27 class Tuning : public NNLSBase
matthiasm@0 28 {
matthiasm@0 29 public:
Chris@35 30 Tuning(float inputSampleRate);
Chris@35 31 virtual ~Tuning();
matthiasm@0 32
matthiasm@0 33 string getIdentifier() const;
matthiasm@0 34 string getName() const;
matthiasm@0 35 string getDescription() const;
matthiasm@52 36 size_t getPreferredStepSize() const;
matthiasm@52 37
matthiasm@52 38 ParameterList getParameterDescriptors() const;
matthiasm@0 39 OutputList getOutputDescriptors() const;
matthiasm@0 40
Chris@35 41 FeatureSet process(const float *const *inputBuffers,
Chris@35 42 Vamp::RealTime timestamp);
Chris@35 43 FeatureSet getRemainingFeatures();
Chris@35 44
matthiasm@0 45 bool initialise(size_t channels, size_t stepSize, size_t blockSize);
matthiasm@0 46 void reset();
matthiasm@0 47
matthiasm@0 48 protected:
Chris@35 49 mutable int m_outputTuning;
Chris@35 50 mutable int m_outputLocalTuning;
matthiasm@0 51 };
matthiasm@0 52
matthiasm@0 53
matthiasm@0 54
matthiasm@0 55 #endif