Crate wmidi [] [src]

Enums

Channel

The MIDI channel. There are 16 channels. They are numbered between 1 and 16 inclusive, or indexed between 0 and 15 inclusive.

Error

Midi encoding and decoding errors.

MidiMessage

Holds information based on the Midi 1.0 spec.

Type Definitions

ControlNumber

Specifies a MIDI control number.

ControlValue

Specifies the value of a MIDI control.

Note

Specifies a MIDI note.

PitchBend

A 14bit value specifying the pitch bend. Neutral is 8192.

ProgramNumber

Specifies a program. Sometimes known as patch.

Song

A song or sequence.

SongPosition

14 bit value that holds the number of MIDI beats (1 beat = six MIDI clocks) since the start of the song.

U7

A data byte that holds 7 bits of information.

U14

A combination of 2 data bytes that holds 14 bits of information.

Velocity

Specifies the velocity of an action (often key press, release, or aftertouch).