Code Monkey home page Code Monkey logo

echoprintforandroid's People

Contributors

charlesmunger avatar jengelsma avatar siekermantechnology 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  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  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  avatar

echoprintforandroid's Issues

Could the generated code be used for sound comaparison?

Rather than issue,it is a humble question for you? First of all great way of generating Code from sound files and great tutorial. I have an Android project where I need to detect a smoke alarm sound and for that I am planning to use your implementation. You are sending the generated code to the server to get music track files and information. But,instead how can I use the generated code to compare sound. Meaning ,I am planning to save the generated code of smoke alarm. So next time I will be supplying audio data to the Codegen and whenver the similar code (saved smoke alarm code ) is detected,I assume it will be an alarm sound. So my question is how can I effectively use the generated Code to find the similarity between audios.

P.S. I am not so good at C++ and it will take me more time to go through all the classes and its implementation.

Native fault when running the app

Here is what is working for me

  • I have fixed the app and I can build it in Android Studio.
  • I see codegen generating the hash

But the app crashes..

  • Initial suspect was Memory leak , but when i tested it with leak canary nothing came up .
  • Next I looked through the app logs and saw it was crashing via some native function under libc causing a fault

A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x10 in tid 3555 (edu.gvsu.masl)

Can you explain me why this would occur.

One more anomaly I could see was

screen shot 2016-02-09 at 7 17 02 pm

But the app compiles well without any error and I can deploy it on the device.

Any help regarding this would be helpful.

Not working

Unfortunately it is not working for. Neither in Eclipse nor in Android Studio :(

Inclusion in F-Droid?

Are there any plans to include this app in F-Droid? Would be nice to have an easy way to install it...

Does it work?

Hi,
I'm very interested in your EchoprintForAndroid. I'm tryng it using EchoPrintServer as server backend (official python version and nodejs porting) but I'm not able to match any songs...
Witch server implementation do you use? Can you help me?

Issue with the JSON object

Hello Alex,

Thanks for the code and the corresponding tutorial. However, there is an issue with the code, if I just build the project as it is I'm getting "Unknow error". It's the same issue that a user nicknamed @cem reported in one of the blog comments. I've taken a look at the AudioFingerprinter class and the problem starts at line 245.

The if(jobj.has("code")) always returns false, as well as every if statement below this line, so it always executes didFailWithException(new Exception("Unknown error"));, regardless of the presence of data in the EchoPrint response. I'm not an expert in JSON but it seems like Echo Nest has changed the structure of its response and your code fails to parse the data from the JSON object. Can you comment on this?

Everything up to this point works fine, although sometimes EchoPrint fails to find a match even when a minute ago it could, but that's beside the point of this comment.

Why 11025Khz??

/**
* Invoke the echoprint native library and generate the fingerprint code.

* Since echoprint requires the audio data to be an array of floats in the

* range [-1, 1] this method will normalize the data array transforming the

* 16 bit signed shorts into floats.
*
* @param data PCM encoded data as shorts
* @param numSamples number of PCM samples at 11025 KHz
* @return The generated fingerprint as a compressed - base64 string.
*/
public String generate(short data[], int numSamples){..}

I read your comment then I know you record audio at 11025 Khz. I've changed to 44100 Khz to see what happens then I know It doesn't recognize music anymore.

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.