lmms
Cross-platform music production software
Toggle main menu visibility
Loading...
Searching...
No Matches
plugins
Oscilloscope
OscilloscopeControls.h
Go to the documentation of this file.
1
/*
2
* OscilloscopeControls.h - Oscilloscope effect controls/models
3
*
4
* Copyright (c) 2025-2026 Keratin
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
#ifndef LMMS_OSCILLOSCOPE_CONTROLS_H
25
#define LMMS_OSCILLOSCOPE_CONTROLS_H
26
27
#include "
EffectControls.h
"
28
29
namespace
lmms
30
{
31
32
class
Oscilloscope
;
33
34
namespace
gui
35
{
36
class
OscilloscopeControlDialog
;
37
class
OscilloscopeGraph
;
38
}
39
40
class
OscilloscopeControls
:
public
EffectControls
41
{
42
Q_OBJECT
43
public
:
44
OscilloscopeControls
(
Oscilloscope
*
effect
);
45
~OscilloscopeControls
()
override
=
default
;
46
47
void
saveSettings
(QDomDocument& doc, QDomElement& parent)
override
;
48
void
loadSettings
(
const
QDomElement& parent)
override
;
49
QString
nodeName
()
const override
{
return
"OscilloscopeControls"
; }
50
gui::EffectControlDialog
*
createView
()
override
;
51
int
controlCount
()
override
{
return
5; }
52
53
private
:
54
FloatModel
m_ampModel
;
55
FloatModel
m_lengthModel
;
56
FloatModel
m_phaseModel
;
57
BoolModel
m_pauseModel
;
58
BoolModel
m_stereoModel
;
59
60
Oscilloscope
*
m_effect
;
61
62
friend
class
gui::OscilloscopeControlDialog
;
63
friend
class
gui::OscilloscopeGraph
;
64
friend
class
Oscilloscope
;
65
};
66
67
}
// namespace lmms
68
69
#endif
// LMMS_OSCILLOSCOPE_CONTROLS_H
EffectControls.h
lmms::BoolModel
Definition
AutomatableModel.h:502
lmms::EffectControls::effect
Effect * effect()
Definition
EffectControls.h:70
lmms::EffectControls::EffectControls
EffectControls(Effect *_eff)
Definition
EffectControls.h:46
lmms::FloatModel
Definition
AutomatableModel.h:468
lmms::OscilloscopeControls::~OscilloscopeControls
~OscilloscopeControls() override=default
lmms::OscilloscopeControls::loadSettings
void loadSettings(const QDomElement &parent) override
Definition
OscilloscopeControls.cpp:47
lmms::OscilloscopeControls::m_pauseModel
BoolModel m_pauseModel
Definition
OscilloscopeControls.h:57
lmms::OscilloscopeControls::m_ampModel
FloatModel m_ampModel
Definition
OscilloscopeControls.h:54
lmms::OscilloscopeControls::createView
gui::EffectControlDialog * createView() override
Definition
OscilloscopeControls.cpp:65
lmms::OscilloscopeControls::nodeName
QString nodeName() const override
Definition
OscilloscopeControls.h:49
lmms::OscilloscopeControls::m_lengthModel
FloatModel m_lengthModel
Definition
OscilloscopeControls.h:55
lmms::OscilloscopeControls::Oscilloscope
friend class Oscilloscope
Definition
OscilloscopeControls.h:64
lmms::OscilloscopeControls::OscilloscopeControls
OscilloscopeControls(Oscilloscope *effect)
Definition
OscilloscopeControls.cpp:34
lmms::OscilloscopeControls::m_effect
Oscilloscope * m_effect
Definition
OscilloscopeControls.h:60
lmms::OscilloscopeControls::m_phaseModel
FloatModel m_phaseModel
Definition
OscilloscopeControls.h:56
lmms::OscilloscopeControls::m_stereoModel
BoolModel m_stereoModel
Definition
OscilloscopeControls.h:58
lmms::OscilloscopeControls::controlCount
int controlCount() override
Definition
OscilloscopeControls.h:51
lmms::OscilloscopeControls::saveSettings
void saveSettings(QDomDocument &doc, QDomElement &parent) override
Definition
OscilloscopeControls.cpp:56
lmms::Oscilloscope
Definition
Oscilloscope.h:36
lmms::gui::EffectControlDialog
Definition
EffectControlDialog.h:42
lmms::gui::OscilloscopeControlDialog
Definition
OscilloscopeControlDialog.h:41
lmms::gui::OscilloscopeGraph
Definition
OscilloscopeGraph.h:43
lmms::gui
Definition
AudioPortAudio.cpp:209
lmms
Definition
RemotePluginBase.cpp:34
Generated on
for lmms by
1.18.0