lmms
Cross-platform music production software
Toggle main menu visibility
Loading...
Searching...
No Matches
plugins
WaveShaper
WaveShaper.h
Go to the documentation of this file.
1
/*
2
* WaveShaper.h - waveshaper effect-plugin
3
*
4
* Copyright (c) 2014 Vesa Kivimäki <contact/dot/diizy/at/nbl/dot/fi>
5
* Copyright (c) 2006-2008 Tobias Doerffel <tobydox/at/users.sourceforge.net>
6
*
7
* This file is part of LMMS - https://lmms.io
8
*
9
* This program is free software; you can redistribute it and/or
10
* modify it under the terms of the GNU General Public
11
* License as published by the Free Software Foundation; either
12
* version 2 of the License, or (at your option) any later version.
13
*
14
* This program is distributed in the hope that it will be useful,
15
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17
* General Public License for more details.
18
*
19
* You should have received a copy of the GNU General Public
20
* License along with this program (see COPYING); if not, write to the
21
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
22
* Boston, MA 02110-1301 USA.
23
*
24
*/
25
26
27
#ifndef _WAVESHAPER_H
28
#define _WAVESHAPER_H
29
30
#include "
Effect.h
"
31
#include "
WaveShaperControls.h
"
32
33
namespace
lmms
34
{
35
36
37
class
WaveShaperEffect
:
public
Effect
38
{
39
public
:
40
WaveShaperEffect
(
Model
* _parent,
41
const
Descriptor::SubPluginFeatures::Key * _key );
42
~WaveShaperEffect
()
override
=
default
;
43
44
ProcessStatus
processImpl
(
SampleFrame
* buf,
const
f_cnt_t
frames)
override
;
45
46
EffectControls
*
controls
()
override
47
{
48
return
( &
m_wsControls
);
49
}
50
51
52
private
:
53
54
WaveShaperControls
m_wsControls
;
55
56
friend
class
WaveShaperControls
;
57
58
} ;
59
60
61
}
// namespace lmms
62
63
64
#endif
Effect.h
WaveShaperControls.h
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::SampleFrame
Definition
SampleFrame.h:41
lmms::WaveShaperEffect::controls
EffectControls * controls() override
Definition
WaveShaper.h:46
lmms::WaveShaperEffect::WaveShaperControls
friend class WaveShaperControls
Definition
WaveShaper.h:56
lmms::WaveShaperEffect::~WaveShaperEffect
~WaveShaperEffect() override=default
lmms::WaveShaperEffect::WaveShaperEffect
WaveShaperEffect(Model *_parent, const Descriptor::SubPluginFeatures::Key *_key)
Definition
WaveShaper.cpp:58
lmms::WaveShaperEffect::m_wsControls
WaveShaperControls m_wsControls
Definition
WaveShaper.h:54
lmms::WaveShaperEffect::processImpl
ProcessStatus processImpl(SampleFrame *buf, const f_cnt_t frames) override
Definition
WaveShaper.cpp:68
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