Files
Cagire/crates/project/src/lib.rs
2026-02-22 23:50:35 +01:00

13 lines
397 B
Rust

//! Project data model: banks, patterns, and steps for the Cagire sequencer.
mod file;
mod project;
pub const MAX_BANKS: usize = 32;
pub const MAX_PATTERNS: usize = 32;
pub const MAX_STEPS: usize = 1024;
pub const DEFAULT_LENGTH: usize = 16;
pub use file::{load, load_str, save, FileError};
pub use project::{Bank, FollowUp, LaunchQuantization, Pattern, PatternSpeed, Project, Step, SyncMode};