-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathreverb_module_new.h
17 lines (16 loc) · 1.08 KB
/
reverb_module_new.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "module_new.h"
namespace model {
class ReverbModule: public Block {
public:
ReverbModule(int number): Block("reverb", number) {
add({ .name = "mix", .default_value = 1.0, .display_multiply = 100.0, .display_units = "%" });
add({ .name = "time", .min = -6.0, .max = 6.0, .value_scale = ValueScale::kExponential, .display_units = "s" });
add({ .name = "size", .default_value = 0.5, .display_multiply = 100.0, .display_units = "%" });
add({ .name = "delay", .max = 0.3, .default_value = 0.0, .display_units = "s" });
add({ .name = "high cut", .max = 128.0, .default_value = 110.0, .display_name = "hi cut", .modulatable = false });
add({ .name = "low cut", .max = 128.0, .default_value = 0.0, .modulatable = false });
add({ .name = "mod rate", .min = -8.0, .max = 3.0, .default_value = -2.0, .value_scale = ValueScale::kExponential, .display_units = "hz", .display_name = "mod hz" });
add({ .name = "mod amount", .default_value = 0.223607, .display_multiply = 100.0, .value_scale = ValueScale::kQuadratic, .display_units = "%", .display_name = "mod" });
}
};
}