|
Arduino MIDI Library
Version 4.3
|
Default Settings for the MIDI Library. More...
#include <midi_Settings.h>
Static Public Attributes | |
| static const bool | UseRunningStatus = false |
| static const bool | HandleNullVelocityNoteOnAsNoteOff = true |
| static const bool | Use1ByteParsing = true |
| static const long | BaudRate = 31250 |
| static const unsigned | SysExMaxSize = 128 |
Default Settings for the MIDI Library.
To change the default settings, don't edit them there, create a subclass and override the values in that subclass, then use the MIDI_CREATE_CUSTOM_INSTANCE macro to create your instance. The settings you don't override will keep their default value. Eg:
Definition at line 50 of file midi_Settings.h.
|
static |
Override the default MIDI baudrate to transmit over USB serial, to a decoding program such as Hairless MIDI (set baudrate to 115200)
http://projectgus.github.io/hairless-midiserial/
Definition at line 74 of file midi_Settings.h.
|
static |
NoteOn with 0 velocity should be handled as NoteOf.
Set to true to get NoteOff events when receiving null-velocity NoteOn messages.
Set to false to get NoteOn events when receiving null-velocity NoteOn messages.
Definition at line 62 of file midi_Settings.h.
|
static |
Maximum size of SysEx receivable. Decrease to save RAM if you don't expect to receive SysEx, or adjust accordingly.
Definition at line 79 of file midi_Settings.h.
|
static |
Setting this to true will make MIDI.read parse only one byte of data for each call when data is available. This can speed up your application if receiving a lot of traffic, but might induce MIDI Thru and treatment latency.
Definition at line 68 of file midi_Settings.h.
|
static |
Running status enables short messages when sending multiple values of the same type and channel.
Warning: does not work with some hardware, enable with caution.
Definition at line 56 of file midi_Settings.h.