Arduino MIDI Library
Version 5.0.1
|
MIDI Library for the Arduino - Definitions. More...
Go to the source code of this file.
Classes | |
struct | Thru |
struct | RPN |
Macros | |
#define | MIDI_CHANNEL_OMNI 0 |
#define | MIDI_CHANNEL_OFF 17 |
#define | MIDI_PITCHBEND_MIN -8192 |
#define | MIDI_PITCHBEND_MAX 8191 |
Typedefs | |
typedef uint8_t | byte |
typedef byte | StatusByte |
typedef byte | DataByte |
typedef byte | Channel |
typedef byte | FilterMode |
using | ErrorCallback = void(*)(int8_t) |
using | NoteOffCallback = void(*)(Channel channel, byte note, byte velocity) |
using | NoteOnCallback = void(*)(Channel channel, byte note, byte velocity) |
using | AfterTouchPolyCallback = void(*)(Channel channel, byte note, byte velocity) |
using | ControlChangeCallback = void(*)(Channel channel, byte, byte) |
using | ProgramChangeCallback = void(*)(Channel channel, byte) |
using | AfterTouchChannelCallback = void(*)(Channel channel, byte) |
using | PitchBendCallback = void(*)(Channel channel, int) |
using | SystemExclusiveCallback = void(*)(byte *array, unsigned size) |
using | TimeCodeQuarterFrameCallback = void(*)(byte data) |
using | SongPositionCallback = void(*)(unsigned beats) |
using | SongSelectCallback = void(*)(byte songnumber) |
using | TuneRequestCallback = void(*)(void) |
using | ClockCallback = void(*)(void) |
using | StartCallback = void(*)(void) |
using | TickCallback = void(*)(void) |
using | ContinueCallback = void(*)(void) |
using | StopCallback = void(*)(void) |
using | ActiveSensingCallback = void(*)(void) |
using | SystemResetCallback = void(*)(void) |
Variables | |
static const uint16_t | ActiveSensingTimeout = 300 |
static const uint8_t | ErrorParse = 0 |
static const uint8_t | ErrorActiveSensingTimeout = 1 |
static const uint8_t | WarningSplitSysEx = 2 |
MIDI Library for the Arduino - Definitions.
Project Arduino MIDI Library
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Definition in file midi_Defs.h.
#define MIDI_CHANNEL_OFF 17 |
Definition at line 45 of file midi_Defs.h.
#define MIDI_CHANNEL_OMNI 0 |
Definition at line 44 of file midi_Defs.h.
#define MIDI_PITCHBEND_MAX 8191 |
Definition at line 48 of file midi_Defs.h.
#define MIDI_PITCHBEND_MIN -8192 |
Definition at line 47 of file midi_Defs.h.
using ActiveSensingCallback = void (*)(void) |
Definition at line 88 of file midi_Defs.h.
using AfterTouchChannelCallback = void (*)(Channel channel, byte) |
Definition at line 76 of file midi_Defs.h.
using AfterTouchPolyCallback = void (*)(Channel channel, byte note, byte velocity) |
Definition at line 73 of file midi_Defs.h.
typedef uint8_t byte |
Definition at line 36 of file midi_Defs.h.
Definition at line 58 of file midi_Defs.h.
using ClockCallback = void (*)(void) |
Definition at line 83 of file midi_Defs.h.
using ContinueCallback = void (*)(void) |
Definition at line 86 of file midi_Defs.h.
using ControlChangeCallback = void (*)(Channel channel, byte, byte) |
Definition at line 74 of file midi_Defs.h.
Definition at line 57 of file midi_Defs.h.
using ErrorCallback = void (*)(int8_t) |
Definition at line 70 of file midi_Defs.h.
typedef byte FilterMode |
Definition at line 59 of file midi_Defs.h.
using NoteOffCallback = void (*)(Channel channel, byte note, byte velocity) |
Definition at line 71 of file midi_Defs.h.
using NoteOnCallback = void (*)(Channel channel, byte note, byte velocity) |
Definition at line 72 of file midi_Defs.h.
using PitchBendCallback = void (*)(Channel channel, int) |
Definition at line 77 of file midi_Defs.h.
using ProgramChangeCallback = void (*)(Channel channel, byte) |
Definition at line 75 of file midi_Defs.h.
using SongPositionCallback = void (*)(unsigned beats) |
Definition at line 80 of file midi_Defs.h.
using SongSelectCallback = void (*)(byte songnumber) |
Definition at line 81 of file midi_Defs.h.
using StartCallback = void (*)(void) |
Definition at line 84 of file midi_Defs.h.
typedef byte StatusByte |
Definition at line 56 of file midi_Defs.h.
using StopCallback = void (*)(void) |
Definition at line 87 of file midi_Defs.h.
using SystemExclusiveCallback = void (*)(byte * array, unsigned size) |
Definition at line 78 of file midi_Defs.h.
using SystemResetCallback = void (*)(void) |
Definition at line 89 of file midi_Defs.h.
using TickCallback = void (*)(void) |
Definition at line 85 of file midi_Defs.h.
using TimeCodeQuarterFrameCallback = void (*)(byte data) |
Definition at line 79 of file midi_Defs.h.
using TuneRequestCallback = void (*)(void) |
Definition at line 82 of file midi_Defs.h.
enum MidiControlChangeNumber : uint8_t |
Enumeration of Control Change command numbers. See the detailed controllers numbers & description here: http://www.somascape.org/midi/tech/spec.html#ctrlnums.
Definition at line 144 of file midi_Defs.h.
enum MidiType : uint8_t |
Enumeration of MIDI types
Enumerator | |
---|---|
InvalidType | For notifying errors. |
NoteOff | Channel Message - Note Off. |
NoteOn | Channel Message - Note On. |
AfterTouchPoly | Channel Message - Polyphonic AfterTouch. |
ControlChange | Channel Message - Control Change / Channel Mode. |
ProgramChange | Channel Message - Program Change. |
AfterTouchChannel | Channel Message - Channel (monophonic) AfterTouch. |
PitchBend | Channel Message - Pitch Bend. |
SystemExclusive | System Exclusive. |
SystemExclusiveStart | System Exclusive Start. |
TimeCodeQuarterFrame | System Common - MIDI Time Code Quarter Frame. |
SongPosition | System Common - Song Position Pointer. |
SongSelect | System Common - Song Select. |
Undefined_F4 | |
Undefined_F5 | |
TuneRequest | System Common - Tune Request. |
SystemExclusiveEnd | System Exclusive End. |
Clock | System Real Time - Timing Clock. |
Undefined_F9 | |
Tick | System Real Time - Timing Tick (1 tick = 10 milliseconds) |
Start | System Real Time - Start. |
Continue | System Real Time - Continue. |
Stop | System Real Time - Stop. |
Undefined_FD | |
ActiveSensing | System Real Time - Active Sensing. |
SystemReset | System Real Time - System Reset. |
Definition at line 94 of file midi_Defs.h.
|
static |
Receiving Active Sensing
Definition at line 51 of file midi_Defs.h.
|
static |
Definition at line 64 of file midi_Defs.h.
|
static |
Definition at line 63 of file midi_Defs.h.
|
static |
Definition at line 65 of file midi_Defs.h.