Skip to main content

Module preprocess

Module preprocess 

Source
Expand description

Encoder input conditioning.

The encoder takes 320 mu-law samples, expands them to linear and runs them through a second-order high-pass that removes DC and the lowest part of the band before any analysis happens.

Re-exports§

pub use crate::FRAME;
pub use crate::HALF;

Structs§

Highpass
State of the input high-pass filter.

Functions§

ulaw_to_linear
Expand one mu-law byte to linear.