aetherdsp-sampler 0.2.1

Polyphonic sampler engine for AetherDSP — multi-sample instruments, voice management, and WAV loading
Documentation
//! Aether Sampler Engine
//!
//! A polyphonic sampler that maps audio recordings to MIDI notes.
//! Supports velocity layers, sustain loops, release samples,
//! and custom tuning tables for non-Western instruments.
//!
//! # Architecture
//!
//! ```
//! SamplerInstrument
//!   └── Vec<SampleZone>        — note range + velocity range → audio file
//!         └── SampleBuffer     — decoded PCM audio in memory
//!
//! SamplerVoice                 — one playing note (polyphony = many voices)
//!   ├── zone: &SampleZone      — which sample to play
//!   ├── position: f64          — current playback position (sub-sample)
//!   ├── phase: VoicePhase      — Attack / Sustain / Release / Done
//!   └── envelope: AdsrState   — amplitude envelope
//! ```

pub mod buffer;
pub mod instrument;
pub mod voice;
pub mod node;

pub use instrument::{SamplerInstrument, SampleZone, ArticulationType, RoundRobinState, RoundRobinMode, ZoneGroup};
pub use node::SamplerNode;
pub use voice::SamplerVoice;