Filter löschen
Filter löschen

How to apply DTW to 2 WAV audios

4 Ansichten (letzte 30 Tage)
Mayque Souza
Mayque Souza am 26 Jul. 2017
Kommentiert: Mayque Souza am 30 Aug. 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 Kommentare
Greg Dionne
Greg Dionne am 25 Aug. 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 am 30 Aug. 2017
Thanks Greg.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Mayque Souza
Mayque Souza am 8 Aug. 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.

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by