LocalVQE v1.4-AEC
توثق هذه الصفحة من Soniqo نموذج LocalVQE v1.4-AEC كما هو منفذ في speech-swift. روابط Hugging Face موجودة أدناه بعد ملاحظات الدمج.
الصفحة الداخلية أولا
بطاقات الصفحة الرئيسية وقوائم الوثائق تشير إلى هذه الصفحة أولا؛ وتبقى روابط النموذج والحزم داخلها.
لمحة سريعة
| النموذج | LocalVQE v1.4-AEC |
|---|---|
| الدور | Explicit-reference acoustic echo cancellation |
| Backend | Native C++ adaptive filter plus stateful Core ML residual mask |
| الإخراج | 16 kHz mono Float32 clean-microphone PCM |
| اللغات | Language-independent acoustic processing |
| الرخصة | Apache-2.0 code and weights |
| الحالة | Streaming and complete-clip speech-swift runtime |
| المصدر | LocalVQE |
| منتج Swift | SpeechEnhancement |
| CLI / runtime | Programmatic LocalVQEEchoCanceller runtime |
الاستخدام
المقتطف أدناه يطابق API أو الأمر الحالي في speech-swift.
import SpeechEnhancement
let aec = try await LocalVQEEchoCanceller.fromPretrained()
let cleanMicrophone = try aec.processFrame(
microphone: microphoneFrame,
reference: playbackReferenceFrame
)
روابط النموذج
ملاحظات التنفيذ
- 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.