comparing-audio-files-python icon indicating copy to clipboard operation
comparing-audio-files-python copied to clipboard

can't run the MFCC + DTW example in mfcc.py

Open Gargosio opened this issue 7 years ago • 6 comments

Could you update this: https://github.com/d4r3topk/comparing-audio-files-python/blob/master/mfcc.py

It's addressed here: https://github.com/pierre-rouanet/dtw/pull/19/commits/307fe721a58cb47532451765d03c9f893731ea33

The original issue is here: https://github.com/pierre-rouanet/dtw/issues/18

This would be a huge help for folks who go through some of your snippets

Gargosio avatar May 09 '18 18:05 Gargosio

Hey @Gargosio

Let me look into this. Haven't touched it in a while!

Thanks for pointing out.

d4r3topk avatar May 10 '18 06:05 d4r3topk

Hey.I followed through and it actually works.Thank you so much for your contribution.

On Thu, May 10, 2018 at 9:14 AM, Trilok Tourani [email protected] wrote:

Hey @Gargosio https://github.com/Gargosio

Let me look into this. Haven't touched it in a while!

Thanks for pointing out.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/d4r3topk/comparing-audio-files-python/issues/1#issuecomment-387962617, or mute the thread https://github.com/notifications/unsubscribe-auth/AkMgrn5uLHSGxKPyZJUpdeBR5KcV3Xx3ks5tw9rLgaJpZM4T41Fl .

Gargosio avatar May 11 '18 05:05 Gargosio

File "first.py", line 21, in dist, cost, path = dtw(mfcc1.T, mfcc2.T) TypeError: dtw() missing 1 required positional argument: 'dist'

I have an error ...can you help me . I'm new to python @Gargosio

Durai88 avatar Jul 17 '18 03:07 Durai88

@Gargosio and @d4r3topk Hey I am getting the same error, TypeError: dtw() missing 1 required positional argument: 'dist'. Can you please help me out. Thanks in advance

worst-labs avatar Apr 09 '20 01:04 worst-labs

Any solution on this?

sohilluhar avatar Apr 15 '21 13:04 sohilluhar

dist, cost, acc_cost, path = dtw(mfcc1.T, mfcc2.T, dist=lambda x, y: norm(x - y, ord=1)) https://github.com/pierre-rouanet/dtw/commit/307fe721a58cb47532451765d03c9f893731ea33#commitcomment-29311094

gorkemgoknar avatar Jul 27 '21 09:07 gorkemgoknar