black screen yay
Some checks are pending
/ build (push) Waiting to run

This commit is contained in:
okay stopped screaming 2026-02-23 15:38:20 +02:00
parent cb989baf83
commit b6559fc904
7 changed files with 2459 additions and 2416 deletions

View file

@ -545,14 +545,16 @@ pub trait HasPlayClip: HasClock {
}
pub trait MidiMonitor: HasMidiIns + HasMidiBuffers {
/// Input note flags.
fn notes_in (&self) -> &Arc<RwLock<[bool;128]>>;
/// Current monitoring status.
fn monitoring (&self) -> bool;
/// Mutable monitoring status.
fn monitoring_mut (&mut self) -> &mut bool;
fn toggle_monitor (&mut self) {
*self.monitoring_mut() = !self.monitoring();
}
fn monitor (&mut self, scope: &ProcessScope) {
}
/// Enable or disable monitoring.
fn toggle_monitor (&mut self) { *self.monitoring_mut() = !self.monitoring(); }
/// Perform monitoring.
fn monitor (&mut self, _scope: &ProcessScope) { /* do nothing by default */ }
}
pub trait MidiRecord: MidiMonitor + HasClock + HasPlayClip {