Skip to main content

Crate aether_midi

Crate aether_midi 

Source
Expand description

Aether MIDI Engine

Handles MIDI input from any connected keyboard or controller. Converts raw MIDI bytes into typed MidiEvent messages. Routes events to registered instruments via a lock-free channel.

Supports:

  • Note On / Note Off with velocity
  • Pitch Bend (±2 semitones by default, configurable)
  • Aftertouch (channel and polyphonic)
  • Control Change (CC) — mod wheel, sustain pedal, expression, etc.
  • Program Change
  • Custom tuning tables (for non-Western instruments)

Re-exports§

pub use engine::MidiEngine;
pub use event::MidiEvent;
pub use event::MidiEventKind;
pub use router::MidiRouter;
pub use tuning::TuningTable;

Modules§

engine
MIDI engine — manages hardware MIDI input via midir.
event
MIDI event types.
router
MIDI router — dispatches events to registered instrument handlers.
tuning
Custom tuning tables for non-Western instruments.