Audioread of *.m4a file problems

15 ビュー (過去 30 日間)
Todd Gross
Todd Gross 2018 年 4 月 14 日
回答済み: Todd Gross 2018 年 4 月 14 日
I can use audioread to read *.wav files but it will not read files recorded from my iPhone in m4a format. I tried the 'native' format to no avail. Any ideas why?

回答 (2 件)

mounika
mounika 2018 年 4 月 14 日
.m4a format should be accepted by audioread according to its documentation
Do you see any errors when you use audioread for your file? If so, can you copy paste it here

Todd Gross
Todd Gross 2018 年 4 月 14 日
It does not give an error. There is no data in the variable y for:
close all; clear all; [y,Fs]=audioread('test.m4a'); sound(y,Fs);
Fs is 160000, y is listed as [] and is a 0 by 0 double array.

カテゴリ

Help Center および File ExchangeAudio and Video Data についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by