sim-lib-music-lower 0.1.0

SIM workspace package for sim lib music lower.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Lowers music from higher-level representations to renderable ones.
//!
//! Lowering is the inverse of lifting: it takes a structured music object or
//! [`Score`](sim_lib_music_core::Score) and renders it down to a concrete,
//! playable Standard MIDI File. [`lower`] and [`lower_score`] produce an
//! in-memory `SmfFile`, while [`write_smf`] serializes that file to bytes.
//! [`LowerOpts`] controls ticks-per-quarter resolution, the tempo map, and how
//! voices are split across MIDI tracks.
#![forbid(unsafe_code)]
#![deny(missing_docs)]

mod model;
mod piano_roll;

pub use model::*;

#[cfg(test)]
mod tests;