-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy patheffects_enum.h
More file actions
164 lines (148 loc) · 3.45 KB
/
Copy patheffects_enum.h
File metadata and controls
164 lines (148 loc) · 3.45 KB
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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
/*
* PLUG - software to operate Fender Mustang amplifier
* Linux replacement for Fender FUSE software
*
* Copyright (C) 2017-2023 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
{
// Bronco 40 amps
RUMBLE,
FENDER_59_BASSMAN,
BASSMAN_TV,
BASSMAN_300,
KGB_800,
ROCKIN_PEG,
SWR_REDHEAD,
MONSTER,
// Mustang 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
{
// Bronco 40 effects
EMPTY,
MODERN_BASS_OVERDRIVE,
OVERDRIVE_BASS,
FUZZ_BASS,
GREENBOX,
SIMPLE_COMP,
// Mustang 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,
*/
// Bronco 40 cabinets
OFF,
cab1x10M,
cab2x10M,
cab4x10M,
cab4x10H,
cab4x10V,
cab8x10M,
cab8x10V,
cab1x12M,
cab4x12M,
cab1x15V,
cab1x15M,
cab2x15V,
cab1x18V
};
// 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);
}
}