-
Notifications
You must be signed in to change notification settings - Fork 59
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
Unexpected warnings with dumping sources alongside mix #75
Comments
Yes, at first I thought it was from the seed being the same each run, but it remained after changing the seed. |
The temp file warnings are mentioned here: |
Yes, these are all sox warnings rather than scaper warnings. I forget whether it's possible to disable these, looks like it might not be supported yet based on the issues @epicycles has mentioned still being open. We have 3 possible solutions:
In the long run I want to move toward 3. I'll see if I can manage 2 in the near future, but can't guarantee it. In the meanwhile, we're stuck with 1 :) |
Using disable_sox_warnings=True in scaper.generate() makes things look better. |
Should we change the default of disable_sox_warnings from False to True? |
OK, I think we can change it. In this case we might want to add a line at the end of the docstring for |
Huh, so it actually is already True. My bad. The warnings only occur when their level is critical, apparently. So is it not working? Did John get a lucky run when the warnings went away? Confused. |
Just revisited the code :) Per the docstring:
So, in principle, when In any case, since sox will be completely replaced in the long run, I don't know that it makes sense to worry about this too much? |
Yeah, I don't think it's critical. I did add "If you're experiencing issues related to audio I/O setting this parameter to True may help with debugging" to the docstring in #55 since I was in the neighborhood, though! |
Also, I forgot to mention this one, which seems to happen in conjunction with one above:
Have to track these down - I believe they're coming from making the temporary files for the sources and then copying them somewhere. Maybe a collision?
The text was updated successfully, but these errors were encountered: