MATLAB Code for Writing an MP3 File in versions after 2015

6 views (last 30 days)
Hi everyone,
I would like to write mp3 audio files (.mp3) in Matlab. The function audioread can read .mp3 file, but after compression or extraction of data, I don't have any function to write that as an audio .mp3 file. As now the functions wavread and wavwrite are not available in MATLAB, the functions for writing an audio mp3 file like mp3write, given in FileExchange are not working in the latest versions after 2015. I am working on a college project of audio signal processing. And I want this code urgently, if anyone can help.
Thanks and Regards.
  4 Comments
Walter Roberson
Walter Roberson on 28 Nov 2020
And we are not permitted to be shown the traceback showing the exact location of the error message? Or the size() and class() of all of the variables mentioned on the line that is causing the problem?
Viraj Mankad
Viraj Mankad on 29 Nov 2020
Error Resolved sir, and that was due to audiowrite syntax in the mp3write function.

Sign in to comment.

Answers (0)

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!