Bug in audioread with native option R2022b?
3 views (last 30 days)
Show older comments
The audioread command with 'native' option should return the native type of the waveform.
It seems there is a bug in R2022b, where it converts to single
>> y=audioread('example.wav','native');
>> class(y)
ans =
'single'
>> max(y)
ans =
single
0.0663
It works fine on R2022a (returns 'int16' and ADC integer count as max value).
Is it a bug or do I miss a change in the release note?
2 Comments
Lee
on 13 Oct 2022
I am having similar problem with my mac..
It keeps showing
Error using audioread
Expected input to be a non-missing string scalar or
character vector.
Error in assignment (line 20)
[y,fs] = audioread(fileaudio);
May i know how do you fix it?
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Introduction to Installation and Licensing 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!