-
Notifications
You must be signed in to change notification settings - Fork 398
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Error while processing frame #3
Comments
The underlying webrtc code can only handle frames that are 10, 20, or 30 ms long. You can use |
import webrtcvad def extract_speech_segments(audio_path, output_path):
Example usageaudio_path = '/kaggle/working/audio.wav' This is my code. Error Traceback (most recent call last) Cell In[10], line 33, in extract_speech_segments(audio_path, output_path) File /opt/conda/lib/python3.10/site-packages/webrtcvad.py:27, in Vad.is_speech(self, buf, sample_rate, length) Error: Error while processing frame and I am getting this error, also checked the prerequisites. |
Hi John,
I was trying to use it to classify my audio frames into speech and silence. When I segment my audio into 30ms, the code runs with no errors. However, when I try 25ms, I get an error that says:
This is my code:
The text was updated successfully, but these errors were encountered: