Control Surface
main
MIDI Control Surface library for Arduino
Toggle main menu visibility
Loading...
Searching...
No Matches
src
Settings
Settings/Settings.hpp
Go to the documentation of this file.
1
#ifndef CS_SETTINGSWRAPPER_HPP
2
#error "Do not include this file directly, use the wrapper!"
3
#endif
4
11
12
#include "
NamespaceSettings.hpp
"
13
#include <stddef.h>
14
#include <stdint.h>
15
16
BEGIN_CS_NAMESPACE
17
18
// ----------------------------- Debug Settings ----------------------------- //
19
// ========================================================================== //
20
21
// #define DEBUG_MIDI_PACKETS
22
23
// ----------------------------- User Settings ------------------------------ //
24
// ========================================================================== //
25
28
constexpr
unsigned
long
VU_PEAK_DECAY_TIME
= 300;
// milliseconds
29
32
constexpr
unsigned
long
VU_PEAK_HOLD_TIME
= 400;
// milliseconds
33
36
constexpr
bool
VU_PEAK_SMOOTH_DECAY
=
true
;
37
39
constexpr
uint8_t
NOTE_VELOCITY_THRESHOLD
= 1;
40
42
#define IGNORE_SYSEX 0
44
#define NO_SYSEX_OUTPUT 0
45
48
constexpr
uint16_t
SYSEX_BUFFER_SIZE
= 128;
49
51
constexpr
unsigned
long
SYSEX_CHUNK_TIMEOUT
= 500;
52
54
constexpr
unsigned
long
HAIRLESS_BAUD
= 115200;
55
57
constexpr
uint8_t
MAX_FPS
= 60;
58
61
#define CS_TRUE_CONTROL_SURFACE_INSTANCE 1
62
66
#define DISABLE_PIPES 0
67
68
// ========================================================================== //
69
70
END_CS_NAMESPACE
NamespaceSettings.hpp
END_CS_NAMESPACE
#define END_CS_NAMESPACE
Definition
Settings/NamespaceSettings.hpp:14
BEGIN_CS_NAMESPACE
#define BEGIN_CS_NAMESPACE
Definition
Settings/NamespaceSettings.hpp:11
VU_PEAK_SMOOTH_DECAY
constexpr bool VU_PEAK_SMOOTH_DECAY
If set to true, the VU meter display peak bars will decay smoothly (i.e.
Definition
Settings/Settings.hpp:36
VU_PEAK_HOLD_TIME
constexpr unsigned long VU_PEAK_HOLD_TIME
The time in milliseconds that a VU meter display peak bar stays at the peak before decaying.
Definition
Settings/Settings.hpp:32
VU_PEAK_DECAY_TIME
constexpr unsigned long VU_PEAK_DECAY_TIME
The time in milliseconds it takes for the VU meter display peak bar to drop one unit (i....
Definition
Settings/Settings.hpp:28
SYSEX_CHUNK_TIMEOUT
constexpr unsigned long SYSEX_CHUNK_TIMEOUT
Timeout in milliseconds to wait for a SysEx chunk to complete.
Definition
Settings/Settings.hpp:51
MAX_FPS
constexpr uint8_t MAX_FPS
The maximum frame rate of the displays.
Definition
Settings/Settings.hpp:57
NOTE_VELOCITY_THRESHOLD
constexpr uint8_t NOTE_VELOCITY_THRESHOLD
Determines when a note input should be interpreted as 'on'.
Definition
Settings/Settings.hpp:39
HAIRLESS_BAUD
constexpr unsigned long HAIRLESS_BAUD
The baud rate to use for Hairless MIDI.
Definition
Settings/Settings.hpp:54
SYSEX_BUFFER_SIZE
constexpr uint16_t SYSEX_BUFFER_SIZE
The length of the maximum System Exclusive message that can be received.
Definition
Settings/Settings.hpp:48
Generated by
1.17.0