Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

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

1 vue (au cours des 30 derniers jours)
mahesh bvm
mahesh bvm le 9 Jan 2014
Clôturé : MATLAB Answer Bot le 20 Août 2021
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.

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by