lasprs 0.14.1

Library for Acoustic Signal Processing (Rust edition, with optional Python bindings via pyo3)
//! This module provides signal generators and signal generation functionality.
//!
//! The main public types are:
//! - [`SourceDescriptor`]: Describes different signal sources (sine, noise, sweep, etc.)
//! - [`SiggenCommand`]: Commands to control signal generation
//! - [`SweepSettings`] and [`SweepType`]: Configuration for sweep signals
//!
//! # Examples
//!
//! ## Create a white noise source descriptor
//!
//! ```
//! use lasprs::siggen::SourceDescriptor;
//!
//! # fn main() -> Result<(), Box<dyn std::error::Error>> {
//! // Create a white noise source descriptor with no interruption
//! let noise = SourceDescriptor::newWhiteNoise(None)?;
//! # Ok(())
//! # }
//! ```
//!
//! ## Create a sine wave source descriptor
//!
//! ```
//! use lasprs::siggen::SourceDescriptor;
//! use lasprs::Positive;
//!
//! # fn main() -> Result<(), Box<dyn std::error::Error>> {
//! // Create a sine wave at 1000 Hz
//! let frequency = Positive::new(1000.0)?;
//! let sine = SourceDescriptor::Sine { frequency };
//! # Ok(())
//! # }
//! ```
mod error;
mod noise;
mod siggen;
mod siggenchannel;
mod siggencmd;
mod silence;
mod sine;
mod source;
mod sourcedescriptor;
mod sweep;

pub use error::*;
pub(crate) use siggen::Siggen;
pub use siggencmd::SiggenCommand;
pub use sourcedescriptor::*;
pub use sweep::{SweepSettings, SweepType};