Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

Problem in aligning the data files one below the other..

1 view (last 30 days)
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.

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!