/Users/franky/DIY/Arduino/Arduino.app/Contents/Resources/Java/hardware/libraries/MIDI/MIDI.h File Reference

#include <inttypes.h>

Go to the source code of this file.

Classes

struct  midimsg
class  MIDI_Class

Defines

#define MIDI_rate   31250
#define NoteOff   0
#define NoteOn   1
#define ATPoly   2
#define CC   3
#define PC   4
#define ATCanal   5
#define PitchBend   6
#define SysEx   7
#define MIDI_FILTER_OFF   0
#define MIDI_FILTER_FULL   1
#define MIDI_FILTER_CANAL   2
#define MIDI_FILTER_ANTICANAL   3
#define MIDI_CHANNEL_OMNI   0
#define MIDI_CHANNEL_OFF   17
#define MIDI_SYSEX_ARRAY_SIZE   256
#define MANUFACTURER_ID_H   0x7D

Typedefs

typedef uint8_t byte

Variables

MIDI_Class MIDI


Define Documentation

#define ATCanal   5

Message type AfterTouch Channel

Definition at line 26 of file MIDI.h.

#define ATPoly   2

Message type AfterTouch Poly

Definition at line 20 of file MIDI.h.

#define CC   3

Message type Control Change

Definition at line 22 of file MIDI.h.

#define MANUFACTURER_ID_H   0x7D

Definition at line 47 of file MIDI.h.

#define MIDI_CHANNEL_OFF   17

Definition at line 42 of file MIDI.h.

#define MIDI_CHANNEL_OMNI   0

Definition at line 41 of file MIDI.h.

#define MIDI_FILTER_ANTICANAL   3

Definition at line 39 of file MIDI.h.

#define MIDI_FILTER_CANAL   2

Definition at line 38 of file MIDI.h.

#define MIDI_FILTER_FULL   1

Definition at line 37 of file MIDI.h.

#define MIDI_FILTER_OFF   0

Definition at line 36 of file MIDI.h.

#define MIDI_rate   31250

The basic baudrate for MIDI communications.

Definition at line 14 of file MIDI.h.

#define MIDI_SYSEX_ARRAY_SIZE   256

Definition at line 45 of file MIDI.h.

#define NoteOff   0

Message type Note Off (equivalent to a NoteOn with null velocity)

Definition at line 16 of file MIDI.h.

#define NoteOn   1

Message type Note On

Definition at line 18 of file MIDI.h.

#define PC   4

Message type Program Change

Definition at line 24 of file MIDI.h.

#define PitchBend   6

Message type Pitch Bend

Definition at line 28 of file MIDI.h.

#define SysEx   7

Message type System Exclusive

Definition at line 30 of file MIDI.h.


Typedef Documentation

typedef uint8_t byte

Type definition for practical use (because "unsigned char" is a bit long to write.. )

Definition at line 50 of file MIDI.h.


Variable Documentation

Main instance (the class comes pre-instantiated).

Definition at line 30 of file MIDI.cpp.


Generated on Mon Dec 14 14:45:29 2009 for Arduino MIDI Library by  doxygen 1.5.8