I would like to know how to transfer a vector of values between 0,255 to mp3 file?

1 view (last 30 days)
length(aud_bin)=x;
audiowrite('file.mp3',aud_bin,fs);

Answers (1)

Star Strider
Star Strider on 13 Jan 2016
Apparently .mp3 is no longer supported as a write format in R2015b (and perhaps some earlier releases). See Vorbis for an alternative. (I have no personal experience with it. I just found it online.)

Community Treasure Hunt

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

Start Hunting!