Compare The Similarity Of 2 Sounds Using Python Librosa
I have about 30 sound clips that are each a preset from a synthesizer. I want to compare these sounds to find out which ones are similar, and then sort the sounds so that each soun
Solution 1:
Sam, I think that you can compare two pictures with machine learning, or maybe with numpy as arrays of data.
This is just an idea for solution (not a full answer):
if it is possible to convert two histograms to flat equal-sized arrays
by numpy.ndarray.flatten
array1 = numpy.array([1.1, 2.2, 3.3])
array2 = numpy.array([1, 2, 3])
diffs = array1 - array2 # array([ 0.1, 0.2, 0.3])similarity_coefficient = np.sum(diffs)
Post a Comment for "Compare The Similarity Of 2 Sounds Using Python Librosa"