Bug in audioread with native option R2022b?

3 ビュー (過去 30 日間)
Bruno Luong
Bruno Luong 2022 年 9 月 21 日
コメント済み: Bruno Luong 2022 年 10 月 14 日
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 件のコメント
Lee
Lee 2022 年 10 月 13 日
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?
Bruno Luong
Bruno Luong 2022 年 10 月 14 日
This is entirely different problem not related to the bug with 'native' option. It seems your fileaudio is non valid string more like a programing issue on your side.

サインインしてコメントする。

採用された回答

Bruno Luong
Bruno Luong 2022 年 9 月 22 日
I has been confirmed by TMW support that is indeed a bug due to third party library they are using.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by