Files
bass-foundry/plugins/crucible/core/src/lib.rs
T
nvrl 6d868a63c4 feat(crucible): keep every captured take
With Keep takes on (default), each capture is written to
<folder>/takes/ as a WAV named by time, tempo and length, so a take
is not lost when the next capture replaces it. Files are never
overwritten: a clash gets a numbered suffix. Saving runs off the UI
thread and the status line shows the path or the error.
2026-11-06 12:24:10 +01:00

19 lines
678 B
Rust

//! Resampler: always records the input, captures the newest bars on request, slices them,
//! cleans each slice and writes ready-to-use files.
mod export;
mod player;
mod ring;
mod settings;
mod take;
pub use export::{export, save_take, stamp, Exported};
pub use player::{Clip, Player, Queues};
pub use ring::{Marker, Recorder, Ring, Transport, MARKERS};
pub use settings::{default_folder, Division, Mode, Settings};
pub use take::{
capture, render, root_key, transients, wavetable, Segment, Slice, Take, FALLBACK_TEMPO,
OVERVIEW, TABLE, TABLE_FRAMES,
};
/// Seconds of history: 16 bars at 60 BPM in 4/4, plus slack for the capture copy.
pub const HISTORY: f32 = 72.;