extract channel 1 from a sound?
조회 수: 17 (최근 30일)
이전 댓글 표시
Dear, how can I take channel 1 or channel 2 from a sound? Thank you!
댓글 수: 0
답변 (1개)
Star Strider
2016년 4월 23일
MOST sound files in MATLAB have two columns such that the left column is the first channel and the right column is the second channel. If you have all the relevant information (particularly sampling frequency ‘Fs’), you should be able to reproduce the sound from each channel/column independently and successfully.
댓글 수: 2
Star Strider
2016년 4월 23일
My pleasure.
From the documentation on the sound function, Channel #1 (first column) is the left channel and Channel #2 (second column) is the right channel. That is easy enough to change in code if you need to.
참고 항목
카테고리
Help Center 및 File Exchange에서 Audio I/O and Waveform Generation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!