フィルターのクリア

how to write a file in .mp3 format ?

17 ビュー (過去 30 日間)
Harsha KVK
Harsha KVK 2022 年 8 月 20 日
回答済み: Walter Roberson 2022 年 8 月 20 日
I am working on a audiorecoder application. I need to save the recorded audio in .mp3 format. But audiowrite() can write files only in .wav format. Is there any way to write audio in .mp3 format or convert .wav to .mp3 ?

回答 (1 件)

Walter Roberson
Walter Roberson 2022 年 8 月 20 日
https://www.mathworks.com/matlabcentral/answers/666993-matlab-code-for-writing-an-mp3-file-in-versions-after-2015#comment_1167878
audiowrite used to handle mp3 but it was removed in r2015b: at the time there was an active patent dispute and companies were demanding to be paid. My notes say that the patents have expired now.

カテゴリ

Help Center および File ExchangeAudio and Video Data についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by