Add de-esser effect to the equalizer - #358
Open
NimbleAINinja wants to merge 1 commit into
Open
Conversation
Sibilance reduction for harsh "s"/"sh" sounds in narration, exposed as a 0-100% strength slider in the equalizer sheet's Effects section. Works like bass boost/loudness: independent of the band-EQ master switch, with per-book EQ, backup, and settings-sync support. Both platforms share the same DSP: an RBJ bandpass sidechain centered at 6 kHz (Q 1.1, ~4-9 kHz) feeds a 1 ms attack / 60 ms release envelope follower; above a strength-dependent threshold (-30 to -42 dBFS) up to 12 dB of the bandpassed signal is subtracted, so only the sibilance band is attenuated. Bypassed below 14 kHz sample rates (same Nyquist guard as the band EQ). iOS: new stage in the AbsorbAudioEQProcessor tap, folded into the anyProcessingActive gate so the tap attaches when the de-esser is the only active effect. Android: DeEsserAudioProcessor in the vendored just_audio sink chain (after Sonic and the channel mixer), toggled live via a DeEsserController static bridge like MonoController. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds sibilance reduction for harsh "s"/"sh" sounds in narration, exposed as a 0–100% strength slider in the equalizer sheet's Effects section. It behaves like bass boost/loudness: independent of the band-EQ master switch, with per-book EQ, backup, and settings-sync support.
Both platforms share the same DSP: an RBJ bandpass sidechain centered at 6 kHz (Q 1.1, ~4–9 kHz) feeds a 1 ms attack / 60 ms release envelope follower; above a strength-dependent threshold (−30 to −42 dBFS), up to 12 dB of the bandpassed signal is subtracted, so only the sibilance band is attenuated. Bypassed below 14 kHz sample rates (same Nyquist guard as the band EQ).
AbsorbAudioEQProcessortap, folded into theanyProcessingActivegate so the tap attaches when the de-esser is the only active effect.DeEsserAudioProcessorin the vendored just_audio sink chain (after Sonic and the channel mixer), toggled live via aDeEsserControllerstatic bridge likeMonoController.Testing
🤖 Generated with Claude Code