LocalVQE v1.4-AEC
यह Soniqo पेज स्थानीय speech-swift implementation में LocalVQE v1.4-AEC को दस्तावेज़ करता है। Hugging Face bundle links integration notes के बाद दिए गए हैं।
पहले आंतरिक पेज
Landing cards और docs menus पहले इसी पेज पर आते हैं; source model और bundle links यहीं उपलब्ध रहते हैं।
सारांश
| मॉडल | LocalVQE v1.4-AEC |
|---|---|
| भूमिका | Explicit-reference acoustic echo cancellation |
| Backend | Native C++ adaptive filter plus stateful Core ML residual mask |
| Output | 16 kHz mono Float32 clean-microphone PCM |
| भाषाएँ | Language-independent acoustic processing |
| लाइसेंस | Apache-2.0 code and weights |
| स्थिति | Streaming and complete-clip speech-swift runtime |
| Source | LocalVQE |
| Swift product | SpeechEnhancement |
| CLI / runtime | Programmatic LocalVQEEchoCanceller runtime |
उपयोग
नीचे का snippet मौजूदा speech-swift API या command से मेल खाता है।
import SpeechEnhancement
let aec = try await LocalVQEEchoCanceller.fromPretrained()
let cleanMicrophone = try aec.processFrame(
microphone: microphoneFrame,
reference: playbackReferenceFrame
)
मॉडल लिंक
implementation notes
- Microphone and playback reference are separate, synchronized inputs; a mixed system-audio transcript is not a valid reference.
- Streaming accepts exactly 256 mono samples per input at 16 kHz and adds one 16 ms spectral hop of algorithmic latency.
- Reset after dropped frames, device changes, capture restarts, or recording boundaries so stale filter and neural state cannot cross discontinuities.
- A silent reference preserves microphone-only speech; the runtime never falls back to subtracting a mix or muting the microphone.
- Do not blindly cascade this path with Apple Voice Processing I/O because two adaptive cancellers can distort near-end speech.