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

Enhance Audio Input Support: Accept NumPy Arrays & .wav FilesAdded support for NumPy array input alongside .wav files #45

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Moaz0009
Copy link

@Moaz0009 Moaz0009 commented Mar 1, 2025

Summary

This PR improves the model's flexibility by allowing it to accept NumPy arrays as input, in addition to previously supported .wav files.

Changes Made

✔️ Added support for real-time recorded audio (NumPy arrays).
✔️ Ensured backward compatibility with .wav files.
✔️ Updated input handling logic to distinguish between array and file input.

Why This Change?

Enables real-time audio processing without needing file storage.
Makes the model more versatile for different applications.

Testing

✅ Successfully tested with both .wav files and NumPy arrays.
✅ No breaking changes to existing .wav functionality.

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.

1 participant