Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Processing bytes instead of numpy array (Using PyAudio) #132

Open
qalabeabbas49 opened this issue Aug 22, 2022 · 1 comment
Open

Processing bytes instead of numpy array (Using PyAudio) #132

qalabeabbas49 opened this issue Aug 22, 2022 · 1 comment

Comments

@qalabeabbas49
Copy link

Hi, I am working on a project where I have audio data as bytes stream (from PyAudio). I want to use the denoiser to clean the audio in real-time (using live.py).

My question is it possible to process the bytes instead of the NumPy array? If so, what should be my approach, and which parameters do I need to change?

Any leads are much appreciated.

Thanks

@adiyoss
Copy link
Contributor

adiyoss commented Dec 1, 2022

At the moment the model gets as input a numpy array representing the raw-waveform. If you want to use bytes instead, the easiest way imo would be to convert it to numpy.

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

No branches or pull requests

2 participants