Audioread of *.m4a file problems

18 次查看(过去 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.

标签

Community Treasure Hunt

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

Start Hunting!

Translated by