Audacity
3.2.0
libraries
lib-builtin-effects
PlotSpectrumBase.h
Go to the documentation of this file.
1
/**********************************************************************
2
3
Audacity: A Digital Audio Editor
4
5
PlotSpectrumBase.h
6
7
Dominic Mazzoni
8
Matthieu Hodgkinson split from FreqWindow.h
9
10
**********************************************************************/
11
#pragma once
12
13
#include "
MemoryX.h
"
14
#include "
SpectrumAnalyst.h
"
15
#include <memory>
16
17
class
AudacityProject
;
18
19
class
BUILTIN_EFFECTS_API
PlotSpectrumBase
20
{
21
public
:
22
PlotSpectrumBase
(
AudacityProject
&
project
);
23
24
protected
:
25
bool
GetAudio();
26
27
AudacityProject
*
mProject
;
28
std::unique_ptr<SpectrumAnalyst>
mAnalyst
;
29
30
bool
mDrawGrid
;
31
int
mSize
;
32
SpectrumAnalyst::Algorithm
mAlg
;
33
int
mFunc
;
34
int
mAxis
;
35
int
dBRange
;
36
double
mRate
;
37
size_t
mDataLen
;
38
ArrayOf<float>
mData
;
39
size_t
mWindowSize
;
40
};
MemoryX.h
SpectrumAnalyst.h
project
const auto project
Definition:
TestWaveTrackMaker.cpp:18
ArrayOf< float >
AudacityProject
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Definition:
Project.h:90
PlotSpectrumBase
Definition:
PlotSpectrumBase.h:20
PlotSpectrumBase::mAnalyst
std::unique_ptr< SpectrumAnalyst > mAnalyst
Definition:
PlotSpectrumBase.h:28
PlotSpectrumBase::mAlg
SpectrumAnalyst::Algorithm mAlg
Definition:
PlotSpectrumBase.h:32
PlotSpectrumBase::mDrawGrid
bool mDrawGrid
Definition:
PlotSpectrumBase.h:30
PlotSpectrumBase::mAxis
int mAxis
Definition:
PlotSpectrumBase.h:34
PlotSpectrumBase::mFunc
int mFunc
Definition:
PlotSpectrumBase.h:33
PlotSpectrumBase::mData
ArrayOf< float > mData
Definition:
PlotSpectrumBase.h:38
PlotSpectrumBase::mRate
double mRate
Definition:
PlotSpectrumBase.h:36
PlotSpectrumBase::mSize
int mSize
Definition:
PlotSpectrumBase.h:31
PlotSpectrumBase::dBRange
int dBRange
Definition:
PlotSpectrumBase.h:35
PlotSpectrumBase::mWindowSize
size_t mWindowSize
Definition:
PlotSpectrumBase.h:39
PlotSpectrumBase::mProject
AudacityProject * mProject
Definition:
PlotSpectrumBase.h:27
PlotSpectrumBase::mDataLen
size_t mDataLen
Definition:
PlotSpectrumBase.h:37
SpectrumAnalyst::Algorithm
Algorithm
Definition:
SpectrumAnalyst.h:21
Generated by
1.9.3