Audio Sample Processing & Conversion Library
A high-performance audio processing library for Rust with Python bindings.
This library provides a comprehensive set of tools for working with audio data, including type-safe sample format conversions, statistical analysis, and various audio processing operations.
Core Features
- Type-safe audio sample conversions between i16, I24, i32, f32, and f64
- High-performance operations leveraging ndarray for efficient computation
- Comprehensive metadata tracking (sample rate, channels, duration)
- Flexible data structures supporting both mono and multi-channel audio
- Python integration via PyO3 bindings
Example Usage
use AudioSamples;
use array;
// Create mono audio with sample rate
let data = array!;
let audio = new_mono;
assert_eq!;
assert_eq!;
assert_eq!;