我正在使用 3rd 方代碼來處理一些用 python 撰寫的檔案。錯誤代碼是這樣的:
outfile.writeframes(int16(output.ravel(1)*32767.0).tostring())
不知道我應該如何修復它,但這是在 Python 3.9 上運行的。
uj5u.com熱心網友回復:
看起來像 paulstretch 或類似的,這對我有用
outfile.writeframes(int16(output.ravel('F')*32767.0).tostring())
檢查:https : //docs.scipy.org/doc/numpy-1.15.0/reference/generated/numpy.ravel.html#numpy.ravel
轉載請註明出處,本文鏈接:https://www.uj5u.com/gongcheng/391733.html
上一篇:ReactNativeAndroid在啟用除錯模式時崩潰
下一篇:文本標簽未在鏈接標簽內呈現
