matlab讀取wav檔案報錯:Data compression format (Format #65534) is not supported.
用matlab做語音相關的工作,用wavread函式讀取檔案時報錯。
自己用audition錄的雙聲道的音訊,後來將錄音檔案拆分為單聲道的音訊,用MATLAB的wavread函式讀取時,報錯。
報錯資訊如下:
網上找了些方法都沒解決。
後來用的其他的wav檔案,就可以正常讀取。
通過比較兩個檔案屬性資訊,發現只有聲道資訊不一樣,所以就用audition重新儲存了一遍檔案,聲道改為單聲道。
修改檔案屬性,如下圖:
然後matlab wavread函式就不報錯了。
檔案屬性修改前後的資訊,對比如下:
相關推薦
matlab讀取wav檔案報錯:Data compression format (Format #65534) is not supported.
用matlab做語音相關的工作,用wavread函式讀取檔案時報錯。 自己用audition錄的雙聲道的音訊,後來將錄音檔案拆分為單聲道的音訊,用MATLAB的wavread函式讀取時,報錯。 報錯資訊如下: 網上找了些方法都沒解決。 後來用的其他的wav檔案,就可以正
【轉載】讀取txt檔案報錯:UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc8 in position 0
python在open讀取txt檔案時,出現UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0xc8 in position 0: invalid continuation byte報錯 解決辦法有二: ①把編碼方式utf-8
Python3 pandas read_csv 讀取txt檔案報錯:IOError: Initializing from file failed
錯誤程式碼: data=pd.read_csv(‘C:\Users\lenovo\Desktop\停用詞檔案\字尾詞處理260\handle_data_01.txt’,sep=’\n’) print
數學建模系列- 解決Matlab讀取Excel檔案報錯:Could not start Excel server for import問題
今天在進行Matlab程式設計的時,用之前寫的程式碼在自己機子上執行失敗,報錯為Could not start Excel server for import, 十分鬱悶。於是在網上找了些資料,總算解決了問題,現在將幾種解決方法寫下來,希望能夠幫助遇到同樣
docker 報錯:x509: certificate has expired or is not yet valid
%d pull mage set repos 證書 val 證書過期 ica 環境:centos 7 程序:docker 下載鏡像報錯: # docker pull centos Pulling repository centos FATA[0004] Get https
openfire 部署後報錯: java.lang.IllegalArgumentException: interface xx is not visible from class loader
exceptio color 本地 java creat 根據 ret 打印 exception 該異常是創建代理時加載接口的類加載器與創建時傳入的不一致。 在本地eclipse做openfire二次開發,本地運行沒錯,部署到服務器上後報異常: java.lang
報錯:TypeError: 'NoneType' object is not callable問題解決
報錯:TypeError: ‘NoneType’ object is not callable問題解決方法 def dec(function): print("start...") function() print("end...") #修飾器 @dec def
模態視窗(登陸) 報錯:forebought:14 Uncaught TypeError: $(...).modal is not a function
在點選一個地方觸發模態視窗的時候報如下錯誤:forebought:14 Uncaught TypeError: $(...).modal is not a function 錯誤原因:我只匯入了j
連線資料庫報錯:1130-Host 'xxx' is not allowed to connect to this MySQL server解決
出現這個問題的同學都很奇怪,為啥用localhost就可以連線上,但是使用本地ip就不行。出現這個問題的原因就是mysql未開啟mysql遠端訪問許可權導致。 這時候我們就用cmd去訪問下你的mysql下面的user表。具體操作如下: 1、連線伺服器: mysql -u root -p
Echarts 報錯:Uncaught Error: [MODULE_MISS]"echarts/config" is not exists!
問題: 報錯:Uncaught Error: [MODULE_MISS]"echarts/config" is not exists! 原因: require( [ 'ec
mysql報錯:Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggre
detail mode sql_mode reat 配置文件 ESS ssi select color 原因: https://blog.csdn.net/fansili/article/details/78664267 解決辦法: 1:查看mysql配置文件
NPM 報錯--fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module
fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module 解決:升級npm npm info graceful-fs
sshclient上傳檔案報錯:encountered 1 errors during the transfer解決方法
encountered 1 errors during the transfer解決方案: 1.檢視要檔案目錄許可權,當前使用者對要上傳檔案的目錄 要有rwx許可權; 2.把伺服器上同名檔案先備份在上傳; 3.如果檔案在桌面上上傳不了,將要上傳的檔案複製到其它分割槽,再上
mac終端下執行java檔案報錯:找不到或無法載入主類
由面試題出來的 為了顯示 myStr = 23 這樣的結果,寫出在控制檯輸入的命令 public class MyClass { public static void main(String args[]) { String s1 = args[0]; String s2 = args[
python讀取xml檔案報錯xml.parsers.expat.ExpatError: XML or text declaration not at start of entity
先說明一下我之前對python的xml.dom.minidom模組不熟,遇到這個問題時先想到的是百度,結果轉了一圈回來發現大家都寫的是xml檔案中的第一行,也就是 <?xml version="1.0" encoding="GBK"?> 這個可能沒有頂格寫,有空格。可是我遇到的問
連線私服倉庫maven的pom檔案報錯:Project build error: Non-resolvable parent POM
配置了私服maven倉庫,在內網160伺服器上,修改了maven配置檔案。下載了一個專案,pom檔案報錯 問題如圖: 將<version>1.5.13.RELEASE</version>改成<version
解決Go上傳檔案報錯:找不到Boundary的問題
最近要做一個元件,即接收客戶端的請求,經過一系列的封裝,將請求傳送給真正的服務端器。可以理解為:客戶端使用Http的Request的Body儲存檔案流,將Request傳送給伺服器。遇到一個問題:傳入的是一個檔案控制代碼File,需要轉換成byte[]存到request的body中,但是發現boun
關於springboot上傳檔案報錯:The temporary upload location ***is not valid
在執行springboot時 ,長時間執行後報錯 the temporary uplaod location *** is not valid 查過資料後發現是centos對‘/temp’下檔案自動清理的原因。 在springboot專案啟動後 系統會在‘/temp’目
chrome非同步載入本地json檔案報錯:cross origin request are only supported for HTTP
定義了一個data.json檔案儲存學生相關資訊,在index.html中想通過$.getJSON("data.json" , function(data){...})方法獲取並顯示json檔案中的內容。 結果執行後chrome報錯如下:Cross origin reque
spark連線並讀取本地檔案報錯總結
1.scala.Predef$.refArrayOps([Ljava/lang/Object;)Lscala/collection/mutable/ArrayOps; 錯誤原因:scala版本與spark版本相容問題導致,可在maven倉庫看spark所使用jar包支援的scala版本。 注