You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I call sox.file_info.bitrate() on a file I get the following error:
File "c:\Users\Theo\OneDrive\Documents\github\tinygrad\.venv\lib\site-packages\sox\file_info.py", line 64, in bitrate
return float(output[:-1])
ValueError: could not convert string to float: '256k'
Whilst when running sox --i on the same file in terminal I get the following:
When I call
sox.file_info.bitrate()
on a file I get the following error:Whilst when running
sox --i
on the same file in terminal I get the following:After a bit of digging, it seems that the output of
soxi
is256k\r
and the \r doesn't get stripped.The text was updated successfully, but these errors were encountered: