Skip to main content

Module ump

Module ump 

Source
Expand description

MIDI 2.0 Universal MIDI Packet (UMP) + MIDI-CI (AU-MIDI-MSG).

Re-exports only. UMP container/message-type/group fields live in packet; word building and MIDI 1.0→2.0 translation in encode; word parsing and MIDI 2.0→1.0 translation in decode(); the default resolution bit-scaling in scale; the MIDI-CI Discovery skeleton in midi_ci.

Re-exports§

pub use decode::decode;
pub use decode::decode_midi1_channel_voice;
pub use decode::decode_midi2_channel_voice;
pub use decode::translate_midi2_to_midi1;
pub use decode::UmpDecoded;
pub use encode::encode_midi1_channel_voice;
pub use encode::encode_midi2_channel_voice;
pub use encode::translate_midi1_to_midi2;
pub use midi_ci::MidiCiDiscovery;
pub use packet::packet_word_count;
pub use packet::Midi2ChannelVoice;
pub use packet::UmpPacket;
pub use scale::scale_down;
pub use scale::scale_up;

Modules§

decode
Decode Universal MIDI Packets back into messages, and translate MIDI 2.0 channel-voice → MIDI 1.0 channel-voice (with default resolution down-scaling).
encode
Encode MIDI messages into Universal MIDI Packets, and translate MIDI 1.0 channel-voice → MIDI 2.0 channel-voice (with default resolution up-scaling).
midi_ci
MIDI Capability Inquiry (MIDI-CI) Discovery message — minimal, spec-shaped.
packet
MIDI 2.0 Universal MIDI Packet (UMP) container + the MIDI 2.0 channel-voice message model.
scale
MIDI 2.0 default resolution scaling (Min-Center-Max) between bit widths.