Info

This question is closed. Reopen it to edit or answer.

Error in audio uploading time.

1 view (last 30 days)
Sumair Hassan
Sumair Hassan on 19 Aug 2019
Closed: MATLAB Answer Bot on 20 Aug 2021
Hi,
I am uploading an audio signal of 3 seconds in matlab, but after uploading it is showing 0.5 seconds audio and the signal is totally change. How can I change the time, so that I can listen full audio of 3 seconds and implement other operation on my 3 seconds audio. Please guide me.
Thanks in advance.
Capture.PNG
  9 Comments
Sumair Hassan
Sumair Hassan on 22 Aug 2019
Hi Wave file is not uploading here.
Can you please tell me which one is the correct command for taking sum of 10 imfs and residual? I am comfused in this.
s= plus(sum(imf(5:10)),residual);
or
s= plus(sum(imf(5,10)),residual);
or
s= plus(sum(imf(5,10,:)),residual);
Walter Roberson
Walter Roberson on 22 Aug 2019
Zip the audio file. Upload the zip file.
I do not know what an imfs is in this context?
Some of what you wrote suggests that you might have 6 elements, not 10. Elements 5, 6, 7, 8, 9, 10 is a total of 6 elements.

Answers (1)

Walter Roberson
Walter Roberson on 19 Aug 2019
You need to tell audiowriter that the sample rate, FS, is 8000.
  1 Comment
Sumair Hassan
Sumair Hassan on 19 Aug 2019
How to change it? can you share the command fot it?
Thanks.

Community Treasure Hunt

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

Start Hunting!