lmms
Cross-platform music production software
Toggle main menu visibility
Loading...
Searching...
No Matches
include
DetuningHelper.h
Go to the documentation of this file.
1
/*
2
* DetuningHelper.h - detuning automation helper
3
*
4
* Copyright (c) 2007 Javier Serrano Polo <jasp00/at/users.sourceforge.net>
5
* Copyright (c) 2008-2010 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
#ifndef LMMS_DETUNING_HELPER_H
27
#define LMMS_DETUNING_HELPER_H
28
29
#include "
InlineAutomation.h
"
30
31
namespace
lmms
32
{
33
34
class
DetuningHelper
:
public
InlineAutomation
35
{
36
Q_OBJECT
37
public
:
38
DetuningHelper
() :
39
InlineAutomation
()
40
{
41
}
42
DetuningHelper
(
const
DetuningHelper
& _copy) :
43
InlineAutomation
(_copy)
44
{
45
}
46
47
~DetuningHelper
()
override
=
default
;
48
49
float
defaultValue
()
const override
50
{
51
return
0;
52
}
53
54
QString
displayName
()
const override
55
{
56
return
tr(
"Note detuning"
);
57
}
58
59
inline
QString
nodeName
()
const override
60
{
61
return
"detuning"
;
62
}
63
64
} ;
65
66
67
}
// namespace lmms
68
69
#endif
// LMMS_DETUNING_HELPER_H
InlineAutomation.h
lmms::DetuningHelper::DetuningHelper
DetuningHelper()
Definition
DetuningHelper.h:38
lmms::DetuningHelper::defaultValue
float defaultValue() const override
Definition
DetuningHelper.h:49
lmms::DetuningHelper::nodeName
QString nodeName() const override
Definition
DetuningHelper.h:59
lmms::DetuningHelper::DetuningHelper
DetuningHelper(const DetuningHelper &_copy)
Definition
DetuningHelper.h:42
lmms::DetuningHelper::~DetuningHelper
~DetuningHelper() override=default
lmms::DetuningHelper::displayName
QString displayName() const override
Definition
DetuningHelper.h:54
lmms::InlineAutomation::InlineAutomation
InlineAutomation()
Definition
InlineAutomation.h:37
lmms
Definition
RemotePluginBase.cpp:34
Generated on
for lmms by
1.18.0