diff --git a/src/midi.rs b/src/midi.rs index 3cd2ec8..1d042b9 100644 --- a/src/midi.rs +++ b/src/midi.rs @@ -1,5 +1,18 @@ -// The midi module should provide a high-level interface for receiving and sending MIDI messages. -// It should handle the low-level details of communicating with the MIDI devices. +//! The midi module should provide a high-level interface for receiving and sending MIDI messages. +//! It should handle the low-level details of communicating with the MIDI devices. +//! +//! Generic Midi controller: +//! * Load from disk +//! * save default +//! * await_message(Mutex glob messages) +//! * Loop sending messages +//! * update status (global status) +//! +//! Global status: +//! * Vec +//! * VP me.status -> Status +//! globalmessage fifo with +//! Command: One VP-> Action use std::{ sync::{Arc, Mutex},