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

Geoff Hayes
Geoff Hayes 2020년 4월 26일
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
okh99 2020년 4월 26일
I want to compress the audio recording file size

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

질문:

2020년 4월 25일

댓글:

2020년 4월 28일

Community Treasure Hunt

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

Start Hunting!

Translated by