Skip to content
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

Update vad.py #1039

Closed
wants to merge 1 commit into from
Closed

Update vad.py #1039

wants to merge 1 commit into from

Conversation

BBC-Esq
Copy link
Contributor

@BBC-Esq BBC-Esq commented Oct 5, 2024

Pre-convert the audio tensor to a NumPy array and pad it upfront. This change eliminates the need to conditionally pad each audio chunk within the loop, thereby reducing computational overhead and speeding up the processing, especially for long audio files.

@MahmoudAshraf97
Copy link
Collaborator

Hi and thanks for the contribution, this code was entirely removed in 936, so the fix is no more relevant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants