feat: add drift compensation system for synchronized audio capture with EMA-based detection and resampling

- Added DriftDetector using exponential moving average and linear regression to calculate clock drift in ppm between primary/secondary audio sources
- Implemented DriftMetrics for tracking overflow counts, adjustment counts, and throttled logging to prevent log spam
- Created DriftCompensator with rubato-based resampling to apply dynamic ratio adjustments when drift exceeds threshold
- Added comprehensive
This commit is contained in:
2026-01-16 07:16:02 -05:00
parent 86d3dfef5c
commit 74cb4da680
10 changed files with 14364 additions and 4 deletions

View File

@@ -27,7 +27,7 @@
}
},
"include": [
"src/noteflow/application/services"
"client/src/api"
],
"ignore": {
"useGitignore": true,