alphacep / alphacep/vosk-api

not getting transcribed text

Abierto
#1,436 7 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Jupyter Notebook
Estrellas
15.1k
Forks
1.8k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.