//! [`InstrMidi`] — instrument routed to an external MIDI synth
//! rather than rendered natively by the sample engine.
//!
//! The xmrs sample engine doesn't render MIDI itself: when a Track
//! triggers an `InstrumentType::Midi`, the player only forwards the
//! event to a registered MIDI observer (channel, program, bank,
//! pitch-bend depth). Downstream code is responsible for the actual
//! synthesis. Editor-authored modules can use this to drive a
//! hardware or software synth from the tracker.
use ;
/// Instrument routed to an external MIDI synth.
///
/// Carries the MIDI channel, program, bank-MSB / bank-LSB and the
/// pitch-bend depth a downstream MIDI observer should configure
/// before forwarding `NoteOn` / `NoteOff` events. The xmrs sample
/// engine doesn't render this variant — voices keyed to it just
/// surface the events through the player's observer chain.