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!