GithubHelp home page GithubHelp logo

Comments (3)

f0k avatar f0k commented on August 24, 2024

Well, sort of... musly is meant to produce recommendations based on music similarity, which is not necessarily suited well for duplicate identification (assuming this is what you're after).
You can use the command line tool to try it for two given files:

musly -c tmp.coll -N
musly -c tmp.coll -a file1.mp3
musly -c tmp.coll -a file2.mp3
musly -c tmp.coll -k 1 -s tmp.txt
cat tmp.txt

This will give the similarity value for the two files. You can try if this is enough for you to find duplicates, by comparing the value to some threshold.
Of course, if you want to apply this in a larger scale, you will want use the library directly, not the command line.

/edit: Fixed to use separate calls for file1.mp3 and file2.mp3 after @anchengjian's note.

from musly.

anchengjian avatar anchengjian commented on August 24, 2024
$ musly -c tmp.coll -N
Music Similarity Library (Musly) - http://www.musly.org
Version: 0.2
(c) 2013-2014, Dominik Schnitzer <[email protected]>
    2014-2016, Jan Schlüter <[email protected]>

Initialized music similarity method: timbre
~~~
A timbre only music similarity measure based 'mandelellis'. It
improves the basic measure in multiple ways to achieve superior
results:
We compute a single Gaussian representation from the songs
using 25 MFCCs. The similarity between two tracks is computed
with the Jensen-Shannon divergence. The Similarities are
normalized with Mutual Proximity:
D. Schnitzer et al.: Using mutual proximity to improve
content-based audio similarity. In the proceedings of the 12th
International Society for Music Information Retrieval
Conference, ISMIR, 2011.
~~~
Installed audio decoder: libav
Initializing new collection: tmp.coll
Initialization result: OK.


$ musly -c tmp.coll -a test/audio/test1-0.mp3 -a test/audio/test1-1.mp3 
Music Similarity Library (Musly) - http://www.musly.org
Version: 0.2
(c) 2013-2014, Dominik Schnitzer <[email protected]>
    2014-2016, Jan Schlüter <[email protected]>

Error: Invalid parameter combination!
Use '-h' for more information.

catch an error

from musly.

f0k avatar f0k commented on August 24, 2024

Oh, you're right, it doesn't allow multiple -a commands. The command line tool is really basic... You'll either need to call it twice, or pass a directory to -a which will then be crawled recursively for files (supply an extension via -x if there are non-audio files you need to exclude).

from musly.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.