reading .opus audio files

20 visualizzazioni (ultimi 30 giorni)
Steven Vits
Steven Vits il 16 Dic 2020
Risposto: Han Zerui il 29 Mar 2022
Hi all,
I have an .opus audio file I'm trying to load into MATLAB. I've tried
dataOpus = audioread('/path/to/file.opus');
but I get the error
Error using audioread (line 104)
The file type is not supported
Is there a way to load .opus files in MATLAB?
Thanks!

Risposte (2)

Abhishek Gupta
Abhishek Gupta il 21 Dic 2020
Hi,
As per my understanding, you are getting an error while reading .opus audio file. This is because audioread() function doesn't support .opus format yet. You can check the same here as well.
I have informed the developers regarding this enhancement, so that they may consider it while implementing the future release of MATLAB.

Han Zerui
Han Zerui il 29 Mar 2022
.opus files are now supported by audioread() and audiowrite() in MATLAB R2022a.

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by