sim-lib-sound-core 0.2.0

Sound-domain frequency, envelope, partial, spectrum, tone, and sample models.
Documentation
//! Core sound primitives for the SIM music constellation.
//!
//! This crate defines the foundational acoustic types shared by the
//! sound/synthesis layer: [`Frequency`], [`Amplitude`], and [`Phase`]
//! quantities; the [`Partial`], [`Envelope`], and [`Tone`] models that build a
//! spectral tone from sinusoidal components; and helpers for default envelopes
//! and equal-temperament pitch-to-frequency conversion.
#![forbid(unsafe_code)]
#![deny(missing_docs)]

mod model;

pub use model::*;

/// Cookbook recipes for this lib, embedded at build time.
pub static RECIPES: sim_cookbook::EmbeddedDir =
    include!(concat!(env!("OUT_DIR"), "/cookbook_recipes.rs"));

#[cfg(test)]
mod tests;