Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I have two long audios, how do I find out the repetitions of them #196

Open
zouhan6806504 opened this issue Jul 18, 2023 · 0 comments
Open

Comments

@zouhan6806504
Copy link

I turn them into mfcc features ,shaped (128, 1172),

y, sr = librosa.load('E:/audio/113987.wav', sr=None)
S = librosa.feature.melspectrogram(y, sr=sr, n_mels=128)
log_S = librosa.amplitude_to_db(S)
mel_128=librosa.feature.mfcc(S=log_S, n_mfcc=128)

then I use local_concurrences(mel_128.T, mel_128_2.T)
I got error info
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

I'm new to audio process. and there is no local_concurrences in dtw_ndim

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant