Bug in audioread with native option R2022b?

3 visualizzazioni (ultimi 30 giorni)
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 Commenti
Lee
Lee il 13 Ott 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?
Bruno Luong
Bruno Luong il 14 Ott 2022
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.

Accedi per commentare.

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Prodotti


Release

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by