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!