Closed dsholes closed 3 years ago
Yes, saving a long table to disk will probably cause buffer underruns... Saving asynchronously could resolve the issue but it's not implemented at the moment. Do you really need to save them on disk? Why not just keep them in tables while you're performing? When you're done, you can call a function that saves all tables recorded during the performance.
Yes, you're right, I can just save as Tables until the end, and then just save to disk when I'm shutting everything down. I was just wondering if I was doing something wrong. Thank you!
Hello! First of all, thank you so much for writing such an extensive library, I'm amazed at what's possible with
pyo
.I'm hoping to use
pyo
as a backend for a looping platform. My goal is essentially to be able to record instrument loops and layer them over each other. I would like to save the individual loops to disk as WAV files.An issue I'm running into right now is that the audio seems to "stutter" as soon as
savefileFromTable
is triggered. Is there any way to run that function asynchronously to avoid the stutter, or do you have any recommendations for a better way to proceed?Also, what is the best way to sync multiple Looper objects to a common Metronome? Let me know if you'd like me to split this into multiple issues.
I have the following as a basic example for recording one input from a Scarlett 2i2 on a mac running macOS Catalina (I run it from a
jupyter lab
interactive session:Thank you!