How to apply DTW to 2 WAV audios

2 次查看(过去 30 天)
Mayque Souza
Mayque Souza 2017-7-26
Hi, I would like some help to apply DTW to two audios in .WAV format. I'm trying in the following way, but without success:
[wave1,Fs1] = audioread('audio1.wav');
[wave2, Fs2] = audioread('audio2.wav');
dtw(wave1,wave2);
and
audio1 = audioread('audio1.wav');
audio2 = audioread('audio2.wav');
Still unsuccessful
  4 个评论
Greg Dionne
Greg Dionne 2017-8-25
I think you can try taking the distance that DTW gives you and do some processing on it (e.g. if the distance is less than some threshold based upon some function of the power of the test signal to match).

请先登录,再进行评论。

回答(1 个)

Mayque Souza
Mayque Souza 2017-8-8
Hi, thanks for the answer, this solution answered me, though, it just shows me the plot chart, is there any way I use it as a true or false? For example, if there are any signs found, it will execute a command, if it does not find it, it will execute another one. With the output in plot I can not create a variable to receive the amount of signals found.
Is there any way to add the value of the amount of signals found in a variable?
Sorry for bad inglês.

类别

Help CenterFile Exchange 中查找有关 Multirate Signal Processing 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by