alphacep / alphacep/vosk-api

not getting transcribed text

Ouverte
#1,436 7 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Jupyter Notebook
Étoiles
15.1k
Forks
1.8k
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

i am sending audio blob using mediarecorder to django websocket using this
navigator.mediaDevices.getUserMedia({ audio: true }).then((stream) => {
const mediaRecorder = new MediaRecorder(stream, { mimeType: 'audio/webm' });
const socket = new WebSocket('ws://localhost:8000/ws/transcribe/');

mediaRecorder.addEventListener('dataavailable', async (event) => {
if (event.data.size > 0) {
const audioBlob = await event.data.arrayBuffer();
socket.send(audioBlob);
console.log(audioBlob);
}
}); but i am not able to convert audioBlob to proper vosk supported format tried everything but not able to convert it. Earlier i tried by saving audio and then converting it that works fine but now i am trying to do real time transcription that is not working

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.