WIP: MIDI
This commit is contained in:
parent
dfd5577cbc
commit
97dc21de64
17
src/midi.rs
17
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 <- Trait>
|
||||
//! * VP me.status -> Status
|
||||
//! globalmessage fifo with <Commands>
|
||||
//! Command: One VP-> Action
|
||||
|
||||
use std::{
|
||||
sync::{Arc, Mutex},
|
||||
|
|
|
|||
Reference in New Issue