split an audio file

7 views (last 30 days)
Thanh Vu Phuong
Thanh Vu Phuong on 20 Oct 2021
Commented: Star Strider on 21 Oct 2021
Hi everyone, i need your help. I'm a newbie in using matlab, so could you help me code this exercise : " Using reshape to split a file wav into some small files."
Thank you very much if you help me .
  2 Comments
Thanh Vu Phuong
Thanh Vu Phuong on 21 Oct 2021
it's stereo

Sign in to comment.

Answers (1)

Star Strider
Star Strider on 20 Oct 2021
Unless it is absolutely necessary to use reshape, use buffer instead. It is just easier.
It only operates on one vector at a time, and returns a matrix of column vectors (regardless of the original vector orientation), so for a stereo signal, it will be necessary to do this for each column (channel) separately.
.
  4 Comments
Star Strider
Star Strider on 21 Oct 2021
My pleasure!
.

Sign in to comment.

Tags

Products


Release

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by