Control Surface  1.1.1
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:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define FATAL_ERRORS
 The debug output. More...
 
#define IGNORE_SYSEX   0
 Don't parse incoming System Exclusive messages. More...
 

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. More...
 
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'. More...
 
constexpr size_t SYSEX_BUFFER_SIZE = 128
 The length of the maximum System Exclusive message that can be received. More...
 
constexpr unsigned long HAIRLESS_BAUD = 115200
 The baud rate to use for Hairless MIDI. More...
 
constexpr uint8_t MAX_FPS = 60
 The maximum frame rate of the displays. More...
 

Macro Definition Documentation

◆ FATAL_ERRORS

#define FATAL_ERRORS

The debug output.

Exit when encountering an error, instead of trying to recover (recommended).

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

◆ IGNORE_SYSEX

#define IGNORE_SYSEX   0

Don't parse incoming System Exclusive messages.

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

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 34 of file Settings/Settings.hpp.

◆ VU_PEAK_HOLD_TIME

constexpr unsigned long VU_PEAK_HOLD_TIME = 400
constexpr

The time in milliseconds that a VU meter display peak bar stays at the peak before decaying.

Definition at line 38 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 42 of file Settings/Settings.hpp.

◆ NOTE_VELOCITY_THRESHOLD

constexpr uint8_t NOTE_VELOCITY_THRESHOLD = 1
constexpr

Determines when a note input should be interpreted as 'on'.

Definition at line 45 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 54 of file Settings/Settings.hpp.

◆ HAIRLESS_BAUD

constexpr unsigned long HAIRLESS_BAUD = 115200
constexpr

The baud rate to use for Hairless MIDI.

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

◆ MAX_FPS

constexpr uint8_t MAX_FPS = 60
constexpr

The maximum frame rate of the displays.

Examples
2.VU-Meter-OLED-USB-DAC.ino.

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