libKeyFinder
A small C++11 library for estimating the musical key of digital audio.
src
workspace.h
1
/*************************************************************************
2
3
Copyright 2011-2015 Ibrahim Sha'ath
4
5
This file is part of LibKeyFinder.
6
7
LibKeyFinder is free software: you can redistribute it and/or modify
8
it under the terms of the GNU General Public License as published by
9
the Free Software Foundation, either version 3 of the License, or
10
(at your option) any later version.
11
12
LibKeyFinder is distributed in the hope that it will be useful,
13
but WITHOUT ANY WARRANTY; without even the implied warranty of
14
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
GNU General Public License for more details.
16
17
You should have received a copy of the GNU General Public License
18
along with LibKeyFinder. If not, see <http://www.gnu.org/licenses/>.
19
20
*************************************************************************/
21
22
#ifndef WORKSPACE_H
23
#define WORKSPACE_H
24
25
#include "audiodata.h"
26
#include "binode.h"
27
#include "chromagram.h"
28
#include "fftadapter.h"
29
30
namespace
KeyFinder {
31
32
class
Workspace
{
33
public
:
34
Workspace
();
35
~
Workspace
();
36
AudioData
remainderBuffer;
37
AudioData
preprocessedBuffer;
38
Chromagram
* chromagram;
39
FftAdapter
* fftAdapter;
40
std::vector<double>* lpfBuffer;
41
};
42
43
}
44
45
#endif
KeyFinder::AudioData
Definition:
audiodata.h:29
KeyFinder::Chromagram
Definition:
chromagram.h:29
KeyFinder::FftAdapter
Definition:
fftadapter.h:32
KeyFinder::Workspace
Definition:
workspace.h:32
Generated by
1.9.1