Move analysis off the audio callback #2
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgeadmin/ring!2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "analysis-off-callback"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes the first P0 in docs/REFACTOR_AUDIT.md.
Engine.performAnalysis()on the worker. Each partition, the callback copies a preallocated 1024-sample frame behind an atomic job state and adopts the newest feature snapshot (likelihood, voice hold, per-howl hz/gain/biquad) from a three-slot atomic store. The callback keeps only notch filters, tail FIR and subtraction. Block-size changes bump an epoch so stale snapshots are ignored.DeadlineTests(release only): 8 engines at 48 kHz with the worker running. 32-frame block worst 52 µs vs 667 µs deadline (main: 1246 µs, a miss); 128-frame worst 260 µs vs 2667 µs (main: 1608 µs).cd SI01 && swift test -c release: 10 tests pass on macOS 15 / Apple Silicon. Not re-run on Linux; not measured on a Core Audio IO thread.🤖 Generated with Claude Code
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.