-
Notifications
You must be signed in to change notification settings - Fork 246
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
Question: Is it possible to write the output of an AudioStream to a .wav file as it's streaming? #328
Comments
You're correct, there isn't currently a way to do this with Pedalboard alone. I've proposed a potential change to the AudioStream class (see #317 (comment)) that would allow If you need this functionality, I'd recommend using |
Hi! Thank you for the quick response! How exactly would I do this? Would I specify the audio buffer as the output to the buffer? Or just append stream to the buffer? For context, I'm using a pretty simple example:
|
I also tried using the .process() method to write to an ndarray, but the buffer still has all zeroes after recording:
|
I want to be able to write the audio that is being sent to my output device from an AudioStream to a .wav file in real-time, or somehow record the audio and write it after. I've been looking online and don't see any clear way to do this. Thanks!
The text was updated successfully, but these errors were encountered: