Giter Site home page Giter Site logo

acoustid.net's People

Contributors

gregsochanik avatar jimmyson avatar wo80 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

acoustid.net's Issues

Fingerprint differences compared with fpcalc.exe

I'm using the following code

        var fileName = @"C:\The Platters - The Great Pretender.mp3";
        var decoder = new NAudioDecoder(fileName);
        var ctx = new AcoustID.ChromaContext();
        ctx.Start(decoder.SampleRate, decoder.Channels);
        decoder.Decode(ctx, 120);
        ctx.Finish();
        var fingerPrint = ctx.GetFingerprint();

and compare the results to

fbcalc.exe -length 120 "C:\The Platters - The Great Pretender.mp3"

In both cases, the fingerprints are 3806 characters long and equal up to position 3200. After that, they differ.

Do you know if this is expected?

Both fingerprints can be used to resolve against the web service, and both have almost the same score (0.9830894 vs. 0.98312235), where the fbcalc.exe score is slightly more accurate.

Am I missing something here? Can I do anything to become more compatible with the fpcalc result?

Please update your code to newest chromaprint 1.4

The original author of AcoustID has updated his chromaprint:
https://oxygene.sk/2016/12/chromaprint-1-4-released/

This change is also reflected in the fpcalc utility, which can now work on streams. In fact, the fpcalc utility has been completely rewritten. It now also supports JSON output for easier integration, since you can find JSON parser in the standard library of almost every new programing language.

Could you please have a look and update your code (if necessary)?

NAudio decoder 24bit

I am currently tinkering with your project and using the NAudio decoder. I noticed that the NAudio decoder is only working for 16bit WAV files.
I was trying to adapt the code in order to get it to work with 24bit files as well but without success. I get different hashes for the 16bit and 24bit file. Can you please guide me what needs to be done in order to support 24bit WAV for the NAudio decoder?

Creating fingerprints.

I'm developing a C# app that scans your local library, searches for matching songs in Spotify and adds them to a playlist. At this moment it uses just the file name or MP3 tags to match the songs. I would like to expand it with comparing audio fingerprints for files with missing tags or names.
From what I gathered the only example how to do this was deleted and I can't find anything that would explain how to do it. Is there an easy way to just create a fingerprint from a path, compare it with the database and get a possible song tile and author in return?

Using AcoustID.NET

I am trying to use AcoustID.NET for a project but the examples that was provided to a different issue does not work.

When I try to use the following, context does not have a Consumer property:

var decoder = new NAudioDecoder(filename);
var context = new ChromaContext();

context.Start(decoder.SampleRate, decoder.Channels);
decoder.Decode(context.Consumer, 120);
context.Finish();

var fp = context.GetFingerprint();

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.