Control Surface new-input
MIDI Control Surface library for Arduino
Macros | Variables
Settings/Settings.hpp File Reference
#include "NamespaceSettings.hpp"
#include <stddef.h>
#include <stdint.h>
+ Include dependency graph for Settings/Settings.hpp:

Go to the source code of this file.

Macros

#define IGNORE_SYSEX   0
 Don't parse incoming System Exclusive messages.
 

Variables

constexpr unsigned long VU_PEAK_DECAY_TIME = 300
 The time in milliseconds it takes for the VU meter display peak bar to drop one unit (i.e. More...
 
constexpr unsigned long VU_PEAK_HOLD_TIME = 400
 The time in milliseconds that a VU meter display peak bar stays at the peak before decaying.
 
constexpr bool VU_PEAK_SMOOTH_DECAY = true
 If set to true, the VU meter display peak bars will decay smoothly (i.e. More...
 
constexpr uint8_t NOTE_VELOCITY_THRESHOLD = 1
 Determines when a note input should be interpreted as 'on'.
 
constexpr size_t SYSEX_BUFFER_SIZE = 128
 The length of the maximum System Exclusive message that can be received. More...
 
constexpr unsigned long SYSEX_CHUNK_TIMEOUT = 500
 Timeout in milliseconds to wait for a SysEx chunk to complete.
 
constexpr unsigned long HAIRLESS_BAUD = 115200
 The baud rate to use for Hairless MIDI.
 
constexpr uint8_t MAX_FPS = 60
 The maximum frame rate of the displays.
 

Variable Documentation

◆ VU_PEAK_DECAY_TIME

constexpr unsigned long VU_PEAK_DECAY_TIME = 300
constexpr

The time in milliseconds it takes for the VU meter display peak bar to drop one unit (i.e.

one twelfth of the complete scale).

Definition at line 28 of file Settings/Settings.hpp.

◆ VU_PEAK_SMOOTH_DECAY

constexpr bool VU_PEAK_SMOOTH_DECAY = true
constexpr

If set to true, the VU meter display peak bars will decay smoothly (i.e.

one pixel at a time), if set to false, they will decay one unit at a time. *‍/

Definition at line 36 of file Settings/Settings.hpp.

◆ SYSEX_BUFFER_SIZE

constexpr size_t SYSEX_BUFFER_SIZE = 128
constexpr

The length of the maximum System Exclusive message that can be received.

The maximum length sent by the MCU protocol is 120 bytes.

Definition at line 48 of file Settings/Settings.hpp.