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