|
Arduino MIDI Library
Version 4.3.1
|
MIDI Library for the Arduino - Definitions. More...
Go to the source code of this file.
Classes | |
| struct | Thru |
| struct | RPN |
Macros | |
| #define | MIDI_LIBRARY_VERSION 0x040300 |
| #define | MIDI_LIBRARY_VERSION_MAJOR 4 |
| #define | MIDI_LIBRARY_VERSION_MINOR 3 |
| #define | MIDI_LIBRARY_VERSION_PATCH 0 |
| #define | MIDI_CHANNEL_OMNI 0 |
| #define | MIDI_CHANNEL_OFF 17 |
| #define | MIDI_PITCHBEND_MIN -8192 |
| #define | MIDI_PITCHBEND_MAX 8191 |
| #define | MIDI_CREATE_INSTANCE(Type, SerialPort, Name) midi::MidiInterface<Type> Name((Type&)SerialPort); |
| Create an instance of the library attached to a serial port. You can use HardwareSerial or SoftwareSerial for the serial port. Example: MIDI_CREATE_INSTANCE(HardwareSerial, Serial2, midi2); Then call midi2.begin(), midi2.read() etc.. More... | |
| #define | MIDI_CREATE_DEFAULT_INSTANCE() MIDI_CREATE_INSTANCE(HardwareSerial, Serial, MIDI); |
| Create an instance of the library with default name, serial port and settings, for compatibility with sketches written with pre-v4.2 MIDI Lib, or if you don't bother using custom names, serial port or settings. More... | |
| #define | MIDI_CREATE_CUSTOM_INSTANCE(Type, SerialPort, Name, Settings) midi::MidiInterface<Type, Settings> Name((Type&)SerialPort); |
| Create an instance of the library attached to a serial port with custom settings. More... | |
Typedefs | |
| typedef uint8_t | byte |
| typedef byte | StatusByte |
| typedef byte | DataByte |
| typedef byte | Channel |
| typedef byte | FilterMode |
Functions | |
| enum | __attribute__ ((deprecated)) MidiFilterMode |
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 49 of file midi_Defs.h.
| #define MIDI_CHANNEL_OMNI 0 |
Definition at line 48 of file midi_Defs.h.
| #define MIDI_CREATE_CUSTOM_INSTANCE | ( | Type, | |
| SerialPort, | |||
| Name, | |||
| Settings | |||
| ) | midi::MidiInterface<Type, Settings> Name((Type&)SerialPort); |
Create an instance of the library attached to a serial port with custom settings.
Definition at line 235 of file midi_Defs.h.
| #define MIDI_CREATE_DEFAULT_INSTANCE | ( | ) | MIDI_CREATE_INSTANCE(HardwareSerial, Serial, MIDI); |
Create an instance of the library with default name, serial port and settings, for compatibility with sketches written with pre-v4.2 MIDI Lib, or if you don't bother using custom names, serial port or settings.
Definition at line 226 of file midi_Defs.h.
| #define MIDI_CREATE_INSTANCE | ( | Type, | |
| SerialPort, | |||
| Name | |||
| ) | midi::MidiInterface<Type> Name((Type&)SerialPort); |
Create an instance of the library attached to a serial port. You can use HardwareSerial or SoftwareSerial for the serial port. Example: MIDI_CREATE_INSTANCE(HardwareSerial, Serial2, midi2); Then call midi2.begin(), midi2.read() etc..
Definition at line 214 of file midi_Defs.h.
| #define MIDI_LIBRARY_VERSION 0x040300 |
Definition at line 41 of file midi_Defs.h.
| #define MIDI_LIBRARY_VERSION_MAJOR 4 |
Definition at line 42 of file midi_Defs.h.
| #define MIDI_LIBRARY_VERSION_MINOR 3 |
Definition at line 43 of file midi_Defs.h.
| #define MIDI_LIBRARY_VERSION_PATCH 0 |
Definition at line 44 of file midi_Defs.h.
| #define MIDI_PITCHBEND_MAX 8191 |
Definition at line 52 of file midi_Defs.h.
| #define MIDI_PITCHBEND_MIN -8192 |
Definition at line 51 of file midi_Defs.h.
| typedef uint8_t byte |
Definition at line 36 of file midi_Defs.h.
Definition at line 59 of file midi_Defs.h.
Definition at line 58 of file midi_Defs.h.
| typedef byte FilterMode |
Definition at line 60 of file midi_Defs.h.
| typedef byte StatusByte |
Definition at line 57 of file midi_Defs.h.
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 119 of file midi_Defs.h.
| enum MidiType |
Enumeration of MIDI types
Definition at line 65 of file midi_Defs.h.
| enum __attribute__ | ( | (deprecated) | ) |
Deprecated: use Thru::Mode instead. Will be removed in v5.0.
Definition at line 105 of file midi_Defs.h.