フィルターのクリア

read two different tracks in matlab

1 回表示 (過去 30 日間)
Padma
Padma 2011 年 11 月 10 日
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

採用された回答

Thomas
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 件のコメント
Padma
Padma 2011 年 11 月 10 日
yeah i tried that, but since i have used a mic array recording in audacity with two channels so I am not able to copy the other track into another file. If i try copying only the second track, both of them are getting copied into the second file. can you suggest me how to do that?
Thomas
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
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
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 ExchangeAudio I/O and Waveform Generation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by