Open rknLA opened 8 years ago
Thank you for your work.
I have comments/questions:
logging
module some messages (like the ones coming from pyaudio errors when reading samples with too high sampling frequency) are lost. Is it possible to intercept them efficiently (maybe using stdout/stderr redirection to logging
)?
I went ahead and changed up the logging here to use Python's built-in
logging
module, rather than redirecting stdin and stdout. While this might seem pedantic, the main reason I had to do this was because redirecting stdout makespdb
effectively useless, making it impossible to debug what's going on with the issue I've mentioned in #2.At this point, I'm still trying to pinpoint where things are going wrong, but I thought this might be helpful to merge back into your branch.
I'm happy to remove the added log messages as well, if you prefer.