-
Notifications
You must be signed in to change notification settings - Fork 732
Remove duplicate --bits parameter while invoking sox #1287
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
Remove duplicate --bits parameter while invoking sox #1287
Conversation
Get latest changes from main repo
Remove duplicate --bits command line parameter. It's producing a warning with sox.
|
Good catch, thanks! Interestingly, removing the first Also, the documentation highlights that |
Thank you! Even with that change, for .gsm files, libsox is still encoding the length field in the file header as 0. I'd look closely at its source-code to figure out the reason.
I noticed that too, but I haven't looked at the sox source code yet to ascertain the reason. |
|
Actually, it is valid to have two The second |
|
@vincentqb Can you revert the merge? |
This reverts commit 9395030.
|
Uh, oh! Sorry for the inconvenience! |
@mthrok, if the second one is removed, then the first one applies to both the input & the output. If even the first one is removed (default bit-depth), |
Notice that the message is As you can see, the input (generated data) has 32-bit precision, but when you convert it to flac, flac can retain up to 24 bits so the precision is lowered. So However, when you were providing |
|
@imaginary-person |
Yes, I realized that when Vincent provided a reference in the documentation. You're right that the second |
--bitsis being provided twice by mistake & sox is unable to handle it well & produces a warning.For example,