المشاريع
عرض على GitHub
pengzhendong/streaming-sensevoice
حول
Pseudo Streaming SenseVoice with Hotwords
تطوير الويب والتطبيقاتالنمو المقاس للنجوم
- خلال 24 ساعة
- ٠
- خلال 7 أيام
- -٣
- خلال 15 يومًا
- -٢
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصلstreaming-sensevoice
Streaming SenseVoice processes inference in chunks of SenseVoice.
Usage
- transcribe wav file
$ python main.py

- transcribe from microphone
$ python realtime.py
- transcribe from websocket
A basic WebSocket service built with Recorder and FastAPI; the frontend uses MP3 format to transmit audio information to reduce latency and increase stability.
pip install -r requirements-ws-demo.txt
python realtime_ws_server_demo.py
# check cli options
python realtime_ws_server_demo.py --help
Then open http://127.0.0.1:8000/ in your browser and click Start Recording.
Notes:
- The page is served by the demo server. Do not open
realtime_ws_client.htmldirectly as a file — the WebSocket address is derived from the page host, so it only works when accessed viahttp(s)://<server>/. - Browsers only grant microphone access on
localhostor HTTPS pages. For remote access, serve behind HTTPS or use an SSH tunnel. - The page loads the Recorder library from jsdelivr CDN; make sure the CDN is reachable (or vendor
recorder-core.js,engine/mp3.js,engine/mp3-engine.jslocally).
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…