sample Build Status Crates.io Crates.io

A crate for simplifying generic pulse code modulation digital signal processing. Use the Sample trait to convert between and remain generic over bit-depth.

Provides a collection of non-std sample format types including:

Provides functions for optimally converting between any of the following sample format types:

If sample is missing types, conversions or other functionality that you wish it had, feel free to open an issue or pull request!