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

4
Cargo.lock generated
View file

@ -3035,14 +3035,10 @@ dependencies = [
"better-panic", "better-panic",
"crossterm 0.29.0", "crossterm 0.29.0",
"dizzle", "dizzle",
"heck 0.5.0",
"palette", "palette",
"proc-macro2",
"quanta", "quanta",
"quote",
"rand 0.8.5", "rand 0.8.5",
"ratatui", "ratatui",
"syn 2.0.117",
"unicode-width 0.2.0", "unicode-width 0.2.0",
] ]

View file

@ -1,8 +1,8 @@
export RUSTFLAGS := "--cfg procmacro2_semver_exempt -Zmacro-backtrace -Clink-arg=-fuse-ld=mold" export RUSTFLAGS := "--cfg procmacro2_semver_exempt -Zmacro-backtrace -Clink-arg=-fuse-ld=mold"
export RUST_BACKTRACE := "1" export RUST_BACKTRACE := "1"
default: default +ARGS="new":
@just -l target/debug/tek {{ARGS}}
cloc: cloc:
for src in {cli,edn/src,input/src,jack/src,midi/src,output/src,plugin/src,sampler/src,tek/src,time/src,tui/src}; do echo; echo $src; cloc --quiet $src; done for src in {cli,edn/src,input/src,jack/src,midi/src,output/src,plugin/src,sampler/src,tek/src,time/src,tui/src}; do echo; echo $src; cloc --quiet $src; done

View file

@ -20,19 +20,12 @@ pub(crate) use ::midly::{Smf, TrackEventKind, MidiMessage, Error as MidiError, n
pub extern crate tengri; pub extern crate tengri;
pub(crate) use tengri::{ pub(crate) use tengri::{
*, *,
dizzle::{ crossterm::event::{Event, KeyEvent},
self,
*
},
ratatui::{ ratatui::{
self, self,
prelude::{Rect, Style, Stylize, Buffer, Modifier, buffer::Cell, Color::{self, *}}, prelude::{Rect, Style, Stylize, Buffer, Color::{self, *}},
widgets::{Widget, canvas::{Canvas, Line}}, widgets::{Widget, canvas::{Canvas, Line}},
}, },
crossterm::{
self,
event::{Event, KeyEvent, KeyCode::{self, *}},
},
}; };
#[cfg(feature = "sampler")] pub(crate) use symphonia::{ #[cfg(feature = "sampler")] pub(crate) use symphonia::{
default::get_codecs, default::get_codecs,
@ -887,9 +880,9 @@ def_command!(SamplerCommand: |sampler: Sampler| {
Ok(None) Ok(None)
}, },
StopSample { slot: usize } => { StopSample { slot: usize } => {
let slot = *slot; let _slot = *slot;
todo!(); todo!();
Ok(None) //Ok(None)
}, },
}); });

File diff suppressed because it is too large Load diff

View file

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

2
dizzle

@ -1 +1 @@
Subproject commit 89260648ff828ab3c55b566368007a7b83fc3fc8 Subproject commit 7d1fbe3fbe53699a3e12eb5a3d55db79653d72d8

2
tengri

@ -1 +1 @@
Subproject commit 06f8ed3ae3a5d0458036ba816f244df11c6b1277 Subproject commit 5d0dc40fdcd7cc022d1e468d9bf59de722949ace