Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
Problem in aligning the data files one below the other..
조회 수: 1 (최근 30일)
이전 댓글 표시
I have two different types of data points which needs to be aligned one below the other. The first data point is actually a articulatory movement data recorded with a sampling rate of 200Hz. Whereas the second data is an acoustic wave file which is recorded at sampling frequency of 16000 Hz.
The problem is that there is a slight dyschrony between the alignments. If I make a mark on the movement data and slice it, it has to playback the complete audio file of the selection. However, I found that a small piece of audio file is slightly missing (at the end) when I heard the playback of the wave file. Can anybody tell me what could be the reason for this mismatch??
Here, 't' is the time vector defined for the movement data and file0 is the time vector defined for the audio file data. 'z' is the movement file.
t = linspace(0,size(z,1)*0.005,size(z,1))'; file0 = linspace(0,max(t)-0.005,size(audio,1))';
I have also attached a word file to have a glance on what it looks like.
Any help is very very appreciated.
댓글 수: 0
답변 (0개)
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!