Mercurial > hg > nnls-chroma
annotate viterbi.h @ 93:12cdf228c47d matthiasm-plugin
limiting magnitude
author | matthiasm |
---|---|
date | Thu, 02 Dec 2010 23:11:27 +0900 |
parents | b6cddb109482 |
children | 99b87ce4bb70 |
rev | line source |
---|---|
matthiasm@43 | 1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ |
matthiasm@43 | 2 |
matthiasm@43 | 3 /* |
matthiasm@43 | 4 NNLS-Chroma / Chordino |
matthiasm@43 | 5 |
matthiasm@43 | 6 Audio feature extraction plugins for chromagram and chord |
matthiasm@43 | 7 estimation. |
matthiasm@43 | 8 |
matthiasm@43 | 9 Centre for Digital Music, Queen Mary University of London. |
matthiasm@43 | 10 This file copyright 2008-2010 Matthias Mauch and QMUL. |
matthiasm@43 | 11 |
matthiasm@43 | 12 This program is free software; you can redistribute it and/or |
matthiasm@43 | 13 modify it under the terms of the GNU General Public License as |
matthiasm@43 | 14 published by the Free Software Foundation; either version 2 of the |
matthiasm@43 | 15 License, or (at your option) any later version. See the file |
matthiasm@43 | 16 COPYING included with this distribution for more information. |
matthiasm@43 | 17 */ |
matthiasm@43 | 18 |
matthiasm@43 | 19 #ifndef _VITERBI_H_ |
matthiasm@43 | 20 #define _VITERBI_H_ |
matthiasm@43 | 21 |
matthiasm@43 | 22 #include <vector> |
matthiasm@43 | 23 #include <string> |
matthiasm@43 | 24 using namespace std; |
matthiasm@43 | 25 |
matthiasm@50 | 26 extern std::vector<int> ViterbiPath(std::vector<double> init, std::vector<vector<double> > trans, std::vector<vector<double> > obs, double *delta); |
matthiasm@43 | 27 |
matthiasm@43 | 28 #endif |