reading .opus audio files

20 vues (au cours des 30 derniers jours)
Steven Vits
Steven Vits le 16 Déc 2020
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!

Réponses (2)

Abhishek Gupta
Abhishek Gupta le 21 Déc 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 le 29 Mar 2022
.opus files are now supported by audioread() and audiowrite() in MATLAB R2022a.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by