pub struct FourierDenoisingPlan {
pub enabled: Option<bool>,
pub media_detection_enabled: Option<bool>,
pub static_threshold: Option<f64>,
pub baseline_offset_db: Option<f64>,
pub window_size_ms: Option<f64>,
pub baseline_percentile: Option<f64>,
}
Fields§
§enabled: Option<bool>
Whether Fourier denoising is enabled. Note that this is experimental and may not work as expected.
media_detection_enabled: Option<bool>
Whether automatic media detection is enabled. When enabled, the filter will automatically detect consistent background TV/music/radio and switch to more aggressive filtering settings. Only applies when enabled is true.
static_threshold: Option<f64>
Static threshold in dB used as fallback when no baseline is established.
baseline_offset_db: Option<f64>
How far below the rolling baseline to filter audio, in dB. Lower values (e.g., -10) are more aggressive, higher values (e.g., -20) are more conservative.
window_size_ms: Option<f64>
Rolling window size in milliseconds for calculating the audio baseline. Larger windows adapt more slowly but are more stable.
baseline_percentile: Option<f64>
Percentile to use for baseline calculation (1-99). Higher percentiles (e.g., 85) focus on louder speech, lower percentiles (e.g., 50) include quieter speech.
Implementations§
Source§impl FourierDenoisingPlan
impl FourierDenoisingPlan
pub fn new() -> FourierDenoisingPlan
Trait Implementations§
Source§impl Clone for FourierDenoisingPlan
impl Clone for FourierDenoisingPlan
Source§fn clone(&self) -> FourierDenoisingPlan
fn clone(&self) -> FourierDenoisingPlan
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more