-
Notifications
You must be signed in to change notification settings - Fork 19
/
effects_enum.h
127 lines (113 loc) · 2.78 KB
/
effects_enum.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
/*
* PLUG - software to operate Fender Mustang amplifier
* Linux replacement for Fender FUSE software
*
* Copyright (C) 2017-2024 offa
* Copyright (C) 2010-2016 piorekf <piorek@piorekf.org>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include <cstdint>
namespace plug
{
// list of all amplifiers
enum class amps
{
FENDER_57_DELUXE,
FENDER_59_BASSMAN,
FENDER_57_CHAMP,
FENDER_65_DELUXE_REVERB,
FENDER_65_PRINCETON,
FENDER_65_TWIN_REVERB,
FENDER_SUPER_SONIC,
BRITISH_60S,
BRITISH_70S,
BRITISH_80S,
AMERICAN_90S,
METAL_2000
};
// list of all effects
enum class effects
{
EMPTY,
OVERDRIVE,
WAH,
TOUCH_WAH,
FUZZ,
FUZZ_TOUCH_WAH,
SIMPLE_COMP,
COMPRESSOR,
SINE_CHORUS,
TRIANGLE_CHORUS,
SINE_FLANGER,
TRIANGLE_FLANGER,
VIBRATONE,
VINTAGE_TREMOLO,
SINE_TREMOLO,
RING_MODULATOR,
STEP_FILTER,
PHASER,
PITCH_SHIFTER,
MONO_DELAY,
MONO_ECHO_FILTER,
STEREO_ECHO_FILTER,
MULTITAP_DELAY,
PING_PONG_DELAY,
DUCKING_DELAY,
REVERSE_DELAY,
TAPE_DELAY,
STEREO_TAPE_DELAY,
SMALL_HALL_REVERB,
LARGE_HALL_REVERB,
SMALL_ROOM_REVERB,
LARGE_ROOM_REVERB,
SMALL_PLATE_REVERB,
LARGE_PLATE_REVERB,
AMBIENT_REVERB,
ARENA_REVERB,
FENDER_63_SPRING_REVERB,
FENDER_65_SPRING_REVERB
};
// list of all cabinets
enum class cabinets
{
OFF,
cab57DLX,
cabBSSMN,
cab65DLX,
cab65PRN,
cabCHAMP,
cab4x12M,
cab2x12C,
cab4x12G,
cab65TWN,
cab4x12V,
cabSS212,
cabSS112
};
// Helper functions - for compatibility only.
constexpr auto value(amps a)
{
return static_cast<std::uint8_t>(a);
}
constexpr auto value(effects e)
{
return static_cast<std::uint8_t>(e);
}
constexpr auto value(cabinets c)
{
return static_cast<std::uint8_t>(c);
}
}