please help me to translate wavread to audioread
2 views (last 30 days)
Show older comments
how can i use audioread to express [x1, fs, bits]=wavread(location);
thanks
0 Comments
Answers (1)
Geoff Hayes
on 18 Mar 2020
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.
See Also
Categories
Find more on Audio and Video Data in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!