diff --git a/README.md b/README.md index a4dbfe5..04103e3 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,7 @@ vois.rs turns your microphone into a voice changer in real time: shift pitch and | Vader | −10 st | 0.60× | reverb | | Telephone | 0 st | 1.00× | bandpass + noise + compressor | | Growl | −5 st | 0.70× | distortion + reverb | +| Walkie-Talkie | 0 st | 1.05× | narrow bandpass + bitcrush + squelch noise + compressor | ### Usage @@ -183,6 +184,7 @@ vois.rs превращает твой микрофон в войс-чендже | Vader | −10 пт | 0.60× | реверб | | Telephone | 0 пт | 1.00× | полосовой фильтр + шум + компрессор | | Growl | −5 пт | 0.70× | дисторшн + реверб | +| Walkie-Talkie | 0 пт | 1.05× | узкий bandpass + биткраш + сквилч-шум + компрессор | ### Запуск diff --git a/src/dsp/presets.rs b/src/dsp/presets.rs index c5f78af..1d55b7b 100644 --- a/src/dsp/presets.rs +++ b/src/dsp/presets.rs @@ -304,6 +304,31 @@ fn builtin_presets() -> Vec { ], gain: 1.00, }, + Preset { + name: "Walkie-Talkie".into(), + pitch_semitones: 0.0, + formant_ratio: 1.05, + effects: vec![ + EffectSpec::Bandpass { + low_hz: 500.0, + high_hz: 2400.0, + mix: 1.0, + }, + EffectSpec::Bitcrush { + bits: 8, + sample_rate_div: 2, + max_gain: 4.0, + target: 0.6, + }, + EffectSpec::Noise { gain: 0.05 }, + EffectSpec::Compressor { + threshold_db: -20.0, + ratio: 4.0, + makeup_db: 4.0, + }, + ], + gain: 1.30, + }, Preset { name: "Growl".into(), pitch_semitones: -5.0,