You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
model.transcribe works well when I use an audio file as an input parameter. But when I use sounddevice to record a period of speech and save the speech result as ndarray and send it directly for model.transcribe , it cannot recognize speech.
But I save the speech recorded by sounddevice as an audio file and then use this file as input paramter for model.transcribe , the speech can be recognized. What is the problem? Is there any specific format requirement for ndarray parameter?
The text was updated successfully, but these errors were encountered:
what does mono array mean? Could you please give me an example? I am not quite into video technique. Here is my code for recording speech: recording = sd.rec(int(duration * fs), samplerate=fs, channels=2, device=device_index)
model.transcribe
works well when I use an audio file as an input parameter. But when I use sounddevice to record a period of speech and save the speech result as ndarray and send it directly formodel.transcribe
, it cannot recognize speech.But I save the speech recorded by sounddevice as an audio file and then use this file as input paramter for
model.transcribe
, the speech can be recognized. What is the problem? Is there any specific format requirement for ndarray parameter?The text was updated successfully, but these errors were encountered: