Comments (3)
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.
$ 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.
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)
- Add a switch (-p) to musly to evaluate the performance HOT 1
- Can musly run by IDE on windows? HOT 1
- allow the user to set the ids in musly_jukebox_addtracks() HOT 1
- compile failed. HOT 11
- Cleanup "musly" command line client
- Build errors HOT 14
- Musly executable has no flag to remove a track HOT 4
- Building errors and solutions on Windows HOT 1
- installation error HOT 10
- Getting an error message when running the sample commands HOT 2
- All songs get the same "score".
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from musly.