sim_lib_sound_core/lib.rs
1//! Core sound primitives for the SIM music constellation.
2//!
3//! This crate defines the foundational acoustic types shared by the
4//! sound/synthesis layer: [`Frequency`], [`Amplitude`], and [`Phase`]
5//! quantities; the [`Partial`], [`Envelope`], and [`Tone`] models that build a
6//! spectral tone from sinusoidal components; and helpers for default envelopes
7//! and equal-temperament pitch-to-frequency conversion.
8#![forbid(unsafe_code)]
9#![deny(missing_docs)]
10
11mod model;
12
13pub use model::*;
14
15#[cfg(test)]
16mod tests;