Repository navigation
feat(audio): implement Comb and Allpass filters for Reverb - #506
Conversation
This commit extends the Reverb audio effect implementation in `lib/stdlib/audio/effects.flow` by providing a true Schroeder reverberator architecture. - Added `CombFilter` and `AllpassFilter` structs with stateful `_new` and `_tick` methods. - The `AllpassFilter` math strictly adheres to standard Schroeder DSP algorithms (`v[n] = x[n] + g * v[n-D]` written to buffer, `y[n] = -g * v[n] + v[n-D]`). - Extended the `Reverb` struct to contain 4 parallel comb filters, 2 series allpass filters, and `last_out` to track the persistent effect state. - Refactored `reverb_new` to instantiate and scale these filters appropriately using standard prime delay timings and mapped feedback coefficients. - Introduced `reverb_tick(rev: Reverb, input: f32) -> Reverb` for robust state processing, keeping `reverb_process` backwards-compatible as a placeholder to avoid breaking the original API interface. Co-authored-by: godofecht <[email protected]>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
Added DSP filters and routing to make the Reverb module functional according to standard Schroeder reverberator designs.
PR created automatically by Jules for task 16974559067429598473 started by @godofecht