scaper icon indicating copy to clipboard operation
scaper copied to clipboard

Bit depth of output mixtures should be controllable

Open pseeth opened this issue 7 years ago • 1 comments

The bitdepth of the output mixtures should be a setting, like sample rate, that you can enforce in the Scaper object. Right now, the behavior seems to be to take the bitdepth of the input source files which can vary greatly (I believe they vary in UrbanSound 8k, for example). When the bitdepth of the output varies or is too big, you get really poor performance when loading the mixtures for processing by something like a deep net. I think the fix is simple, it's somewhere in sox you can enforce the bit depth to a default like 16 or something.

pseeth avatar Apr 22 '19 17:04 pseeth

Sounds perfectly reasonable, sure.

justinsalamon avatar Apr 22 '19 23:04 justinsalamon