Borrar filtros
Borrar filtros

How to apply DTW to 2 WAV audios

4 visualizaciones (últimos 30 días)
Mayque Souza
Mayque Souza el 26 de Jul. de 2017
Comentada: Mayque Souza el 30 de Ag. de 2017
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 comentarios
Greg Dionne
Greg Dionne el 25 de Ag. de 2017
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).
Mayque Souza
Mayque Souza el 30 de Ag. de 2017
Thanks Greg.

Iniciar sesión para comentar.

Respuestas (1)

Mayque Souza
Mayque Souza el 8 de Ag. de 2017
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.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by