We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I create a transformer object, read a wav file with it, and try to change the sample rate and the encoding type with the following block of code.
tfm = sox.Transformer() array_in = tfm.build_array(input_filepath=wav_path) tfm.set_output_format(rate=SAMPLE_RATE_OUT, encoding='floating-point') array_out = tfm.build_array(input_array=array_in, sample_rate_in=SAMPLE_RATE_IN)
The problem is that the output array is still in PCM and is not converted to floating-point, as specified.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I create a transformer object, read a wav file with it, and try to change the sample rate and the encoding type with the following block of code.
The problem is that the output array is still in PCM and is not converted to floating-point, as specified.
The text was updated successfully, but these errors were encountered: