P1d: manual face cuts and trim in the quarry

This commit is contained in:
Emil
2026-11-01 01:51:47 +03:00
parent 88663a384e
commit 346035e869
17 changed files with 534 additions and 41 deletions
+8
View File
@@ -10,6 +10,7 @@ pub const VEIN_COUNT: usize = 5;
pub const LOOP_STEPS: usize = 16;
pub const STEPS_PER_BAR: usize = 8;
pub const LOOP_BARS: f32 = 2.0;
pub const FACE_COUNT: usize = 16;
pub const MIN_BPM: f32 = 40.0;
pub const MAX_BPM: f32 = 220.0;
pub const MIN_GAIN: f32 = 0.0;
@@ -203,6 +204,10 @@ pub enum Command {
core: String,
face: u8,
},
SetCoreFaces {
core: String,
boundaries: Vec<f32>,
},
Undo,
Redo,
/// Journal-only: a core was imported through the binary path.
@@ -255,6 +260,9 @@ pub enum Event {
can_undo: bool,
can_redo: bool,
},
CoreFaces {
core: CoreSummary,
},
}
#[derive(Debug, Clone, Copy, PartialEq, Eq, Serialize, Deserialize)]