1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
//! Lossless encoding for flo //! //! Uses Adaptive Linear Predictive Coding (ALPC) with rice/entropy coding. //! Achieves 2-3x compression on typical audio while preserving every bit. pub mod decoder; pub mod encoder; pub mod lpc; pub use lpc::{ // Integer-based LPC (for encoding) autocorr_int, // Float-based LPC (for analysis) autocorrelation, calc_residuals_int, calculate_residuals, dequantize_coefficients, fixed_predictor_residuals, is_stable, is_stable_after_quantization, levinson_durbin, levinson_durbin_int, quantize_coefficients, reconstruct_samples, }; pub use decoder::Decoder; pub use encoder::Encoder;