lmms
Cross-platform music production software
Toggle main menu visibility
Loading...
Searching...
No Matches
plugins
BassBooster
BassBooster.h
Go to the documentation of this file.
1
/*
2
* BassBooster.h - bass-booster-effect-plugin
3
*
4
* Copyright (c) 2006-2014 Tobias Doerffel <tobydox/at/users.sourceforge.net>
5
*
6
* This file is part of LMMS - https://lmms.io
7
*
8
* This program is free software; you can redistribute it and/or
9
* modify it under the terms of the GNU General Public
10
* License as published by the Free Software Foundation; either
11
* version 2 of the License, or (at your option) any later version.
12
*
13
* This program is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
* General Public License for more details.
17
*
18
* You should have received a copy of the GNU General Public
19
* License along with this program (see COPYING); if not, write to the
20
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21
* Boston, MA 02110-1301 USA.
22
*
23
*/
24
25
26
#ifndef BASS_BOOSTER_H
27
#define BASS_BOOSTER_H
28
29
#include "
Effect.h
"
30
#include "
DspEffectLibrary.h
"
31
#include "
BassBoosterControls.h
"
32
33
namespace
lmms
34
{
35
36
class
BassBoosterEffect
:
public
Effect
37
{
38
public
:
39
BassBoosterEffect
(
Model
* parent,
const
Descriptor::SubPluginFeatures::Key*
key
);
40
~BassBoosterEffect
()
override
=
default
;
41
42
ProcessStatus
processImpl
(
SampleFrame
* buf,
const
f_cnt_t
frames)
override
;
43
44
EffectControls
*
controls
()
override
45
{
46
return
&
m_bbControls
;
47
}
48
49
50
protected
:
51
void
changeFrequency
();
52
void
changeGain
();
53
void
changeRatio
();
54
55
bool
m_frequencyChangeNeeded
;
56
57
private
:
58
DspEffectLibrary::MonoToStereoAdaptor<DspEffectLibrary::FastBassBoost>
m_bbFX
;
59
60
BassBoosterControls
m_bbControls
;
61
62
friend
class
BassBoosterControls
;
63
64
} ;
65
66
67
}
// namespace lmms
68
69
#endif
BassBoosterControls.h
DspEffectLibrary.h
Effect.h
lmms::BassBoosterEffect::changeRatio
void changeRatio()
Definition
BassBooster.cpp:126
lmms::BassBoosterEffect::m_frequencyChangeNeeded
bool m_frequencyChangeNeeded
Definition
BassBooster.h:55
lmms::BassBoosterEffect::changeGain
void changeGain()
Definition
BassBooster.cpp:117
lmms::BassBoosterEffect::BassBoosterControls
friend class BassBoosterControls
Definition
BassBooster.h:62
lmms::BassBoosterEffect::processImpl
ProcessStatus processImpl(SampleFrame *buf, const f_cnt_t frames) override
Definition
BassBooster.cpp:72
lmms::BassBoosterEffect::m_bbFX
DspEffectLibrary::MonoToStereoAdaptor< DspEffectLibrary::FastBassBoost > m_bbFX
Definition
BassBooster.h:58
lmms::BassBoosterEffect::~BassBoosterEffect
~BassBoosterEffect() override=default
lmms::BassBoosterEffect::controls
EffectControls * controls() override
Definition
BassBooster.h:44
lmms::BassBoosterEffect::changeFrequency
void changeFrequency()
Definition
BassBooster.cpp:106
lmms::BassBoosterEffect::BassBoosterEffect
BassBoosterEffect(Model *parent, const Descriptor::SubPluginFeatures::Key *key)
Definition
BassBooster.cpp:54
lmms::BassBoosterEffect::m_bbControls
BassBoosterControls m_bbControls
Definition
BassBooster.h:60
lmms::DspEffectLibrary::MonoToStereoAdaptor
Definition
DspEffectLibrary.h:70
lmms::EffectControls
Definition
EffectControls.h:44
lmms::Effect::Effect
Effect(const Plugin::Descriptor *_desc, Model *_parent, const Descriptor::SubPluginFeatures::Key *_key)
Definition
Effect.cpp:41
lmms::Effect::ProcessStatus
ProcessStatus
Definition
Effect.h:150
lmms::Model
Definition
Model.h:37
lmms::Plugin::key
const Descriptor::SubPluginFeatures::Key & key() const
Definition
Plugin.h:272
lmms::SampleFrame
Definition
SampleFrame.h:41
lmms
Definition
RemotePluginBase.cpp:34
lmms::f_cnt_t
std::uint64_t f_cnt_t
Definition
LmmsTypes.h:43
Generated on
for lmms by
1.18.0