please help me to translate wavread to audioread
2 次查看(过去 30 天)
显示 更早的评论
how can i use audioread to express [x1, fs, bits]=wavread(location);
thanks
0 个评论
回答(1 个)
Geoff Hayes
2020-3-18
David - from audioread, you could do (assuming that location is the name of (and path to) the audio file
[x1,fs] = audioread(location);
info = audioinfo(location);
to get a structure that will have a field corresponding to the bits per sample.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Audio and Video Data 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!