-
Notifications
You must be signed in to change notification settings - Fork 251
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
Using deepfilter in Python on streaming audio chunks #626
Comments
https://gist.github.com/Safari77/a505d2e6474240554c1f0acb4379a31f |
@Safari77 Thanks for your quick revert. I'm looking for pure Python using native DF instead of the need to set up Pipewire. We'd need to deploy it to our app servers to process realtime audio feeds. |
I have tried using a similar implementation as this one: https://github.com/Sharrnah/whispering/blob/main/Models/STS/DeepFilterNet.py but unable to use it correctly. |
go to the git repo dir python setup.py install --user
pip install deepfilternet then start coding from df.enhance import enhance, init_df, load_audio, save_audio
model, df_state, _ = init_df() |
Thanks @Safari77. The shared snippet works as a batch job on the given audio file but what I'm looking here is the ability to process small chunks of audio in real-time (20ms each). Basically will be feeding in chunks from Twilio to remove the bg noise before further processing.
|
@neeagl I have the same request. Have you been able to make it work? |
@whatscoding unfortunately no. Still looking for options |
Will be great if someone can share pointers to be able to use DF to process continuous audio chunks coming from the microphone (or other sources)
Appreciate the help!
Thanks
The text was updated successfully, but these errors were encountered: