//! 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.;