-
Notifications
You must be signed in to change notification settings - Fork 146
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
Record audio with any duration. #24
Comments
This is certainly possible but you'll have to implement it yourself using the callback API. The reason why You could extend that to arbitrary durations by appending to a Note that allocating memory within the time-constrained callback may take too long, which may lead to drop-outs in your recording. You should be able to detect those with the |
I've created an example showing how to record for an arbitrary amount of time: rec_unlimited.py. Does this help? |
Helps A LOT! thank you so much. I will experiment a little bit and try to do my 'loop pedal emulator'. this is extremely helpful. This module is awesome. |
Dude you gave me the exact thing which i needed, thanks |
This code is amazing, I was wondering though, is it possible to do multiple recordings in one session? I mean when you click ctrl+c the whole program shuts down. |
I mean, that is what the code does. There is nothing happening after catching the |
Hi, I am trying to create a 'loop pedal' emulator, and I need to start recording audio without a duration already specified. Something like 'record audio until I want'. I dont know how to do that in sounddevice. Is this possible?
The text was updated successfully, but these errors were encountered: