Closed akofman closed 7 years ago
Hi,
Actually the DTW is used to compute a time-stretched distance. The idea is if you have two identical signals like in your example but one shifted, DTW will still give you a very low distance because it allows for suppression.
I guess you could use DTW to find the shift (using a cost) but in your case a cross correlation should be better suited.
Thanks for the explanation ! Indeed cross correlation is better suited, that's exactly what I did in the end.
Merci encore et bonne journée ;)
Hello and thanks for this library. Sorry if it's a silly question, I'm just discovering what Dynamic time warping is ... I'd just like to know if it's possible to get the delay in seconds between two same audio signals.
I tried this :
where convert is based on
ffmpeg
in order to create the delay:I expected a result equals to 1sec but the dist doesn't seem to be what I think it is :/