reading .opus audio files

8 次查看(过去 30 天)
Steven Vits
Steven Vits 2020-12-16
回答: Han Zerui 2022-3-29
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!

回答(2 个)

Abhishek Gupta
Abhishek Gupta 2020-12-21
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 2022-3-29
.opus files are now supported by audioread() and audiowrite() in MATLAB R2022a.

标签

Community Treasure Hunt

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

Start Hunting!

Translated by