Audio compression to compress recording
Show older comments
I am making an app with app designer in matlab the app will record from user I have done this part.
but it is required them to compress that recorderd audio I have made the button for the compress but I can't figure out the way to compress that audio
Here is the code for the recording.
function RecordButtonPushed(app, event)
audioObject = audiorecorder;
duration = 7;
msgbox("Recording started");
recordblocking(audioObject, duration);
msgbox("Recording Stopped");
assignin('base','audioObject',audioObject)
end
That the handler for the recording button then I should compress that audio and play it.
So, anyone has an idea about how to compress the audio?
3 Comments
Geoff Hayes
on 26 Apr 2020
okh99 - do you want to reduce the sampling rate (and so reduce the total number of samples? or do you want to compress the audio recording file size?
okh99
on 26 Apr 2020
Sampath Rachumallu
on 28 Apr 2020
You can try the code in file exchange. Below is the link
Answers (0)
Categories
Find more on Audio and Video Data in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!