Skip to main content

Crate bs2b

Crate bs2b 

Source
Expand description

Bauer stereophonic-to-binaural (bs2b) crossfeed DSP.

This crate implements the classic bs2b algorithm with an ergonomic Rust API.

Structs§

Bs2b
Stateful bs2b DSP processor.
Level
Crossfeed level definition.

Enums§

Bs2bError
Configuration and processing errors.

Constants§

DEFAULT_SAMPLE_RATE
Default sample rate in Hz used by the original library.
MAX_CUT_FREQUENCY
Maximum crossfeed cut frequency in Hz.
MAX_FEED_DB_TENTHS
Maximum feed level in dB * 10.
MAX_SAMPLE_RATE
Maximum supported sample rate in Hz.
MIN_CUT_FREQUENCY
Minimum crossfeed cut frequency in Hz.
MIN_FEED_DB_TENTHS
Minimum feed level in dB * 10.
MIN_SAMPLE_RATE
Minimum supported sample rate in Hz.

Traits§

Sample
Sample type that can be processed by the bs2b processor.