Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

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

1 Ansicht (letzte 30 Tage)
mahesh bvm
mahesh bvm am 9 Jan. 2014
Geschlossen: MATLAB Answer Bot am 20 Aug. 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.

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by