use std::sync::Mutex;
pub struct MidiBuffer {
pub timestamp: u64,
pub message: Vec<u8>,
}
pub struct NoteMap {
pub duration: u64,
pub timing: Vec<usize>,
}
lazy_static! {
pub static ref MIDI_BUFFER: Mutex<Vec<MidiBuffer>> = Mutex::new(vec![]);
}
lazy_static! {
pub static ref NOTE_MAP: Mutex<Vec<NoteMap>> = Mutex::new(vec![]);
}
impl NoteMap {
}