LocalVQE v1.4-AEC
หน้านี้ของ Soniqo อธิบาย LocalVQE v1.4-AEC ตาม implementation ใน speech-swift ส่วนลิงก์ Hugging Face อยู่ใต้หมายเหตุการใช้งาน
เข้าหน้าในเว็บก่อน
การ์ดหน้าแรกและเมนูเอกสารจะชี้มาที่หน้านี้ก่อน ส่วนลิงก์ไปยัง source model และ bundle ยังอยู่ในหน้านี้
ภาพรวม
| โมเดล | 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 |
| License | Apache-2.0 code and weights |
| สถานะ | Streaming and complete-clip speech-swift runtime |
| Source | LocalVQE |
| Swift product | SpeechEnhancement |
| CLI / runtime | Programmatic LocalVQEEchoCanceller runtime |
การใช้งาน
snippet ด้านล่างตรงกับ API หรือคำสั่งปัจจุบันใน speech-swift
import SpeechEnhancement
let aec = try await LocalVQEEchoCanceller.fromPretrained()
let cleanMicrophone = try aec.processFrame(
microphone: microphoneFrame,
reference: playbackReferenceFrame
)
ลิงก์โมเดล
หมายเหตุ implementation
- 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.