/// Phrase editor. pub(crate) use tek_core::*; pub(crate) use tek_core::crossterm::event::KeyCode; pub(crate) use tek_core::midly::{num::u7, live::LiveEvent, MidiMessage}; pub(crate) use tek_core::jack::*; pub(crate) use std::sync::{Arc, RwLock}; submod! { arranger arranger_cmd arranger_tui arranger_snd sequencer sequencer_cmd sequencer_tui sequencer_snd transport transport_cmd transport_tui transport_snd } /// FIXME: use PPQ value from global timebase pub const PPQ: usize = 96; pub const CORNERS: CornersTall = CornersTall(CORNERS_STYLE); tui_style!(CORNERS_STYLE = Some(Color::Rgb(96, 255, 32)), None, None, Modifier::empty(), Modifier::DIM); /// Octave number (from -1 to 9) pub const NTH_OCTAVE: [&'static str;11] = [ "-1", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9" ];