read two different tracks in matlab
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi
i have recorded my voice from two mics at the same time in two different tracks in the same file. Now inorder to correlate them, i have to read them separately from the tracks. could someone please tell me how to do that in matlab?
thanks in advance
댓글 수: 0
채택된 답변
Thomas
2011년 11월 10일
You can use software like audacity to split the single audio file with two into two audio files. Then you can import them into matlab separately and correlate.
Not aware of MATLAB's audio editing capabilities :).
댓글 수: 2
Thomas
2011년 11월 10일
One thing you could try while recording from now on is pan 1 track to the left and the other to the right so that it will be easy to split it later.
추가 답변 (1개)
Honglei Chen
2011년 11월 10일
I assume this is similar to a stereo signal. If that's the case, then you can still use wavread to read in the file.
[y,fs] = wavread(FILENAME)
The variable y in this case should have two columns and each one corresponds to a track.
HTH
댓글 수: 1
Walter Roberson
2011년 11월 10일
But that will retrieve all of the tracks simultaneously, which (for whatever reason) Padma does not wish to do.
There is, as far as I know, no provided mechanism to return one track at a time.
참고 항목
카테고리
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!