Git Product home page Git Product logo

echoprint-ios-sample's People

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  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  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

echoprint-ios-sample's Issues

How to interpret the Hash Code

Hi, i'm working on iPhone app and i want ask if there are a way for interpret the Hash Code result after the recording.
How can i retrive information about frequency and timestamp ?

Cannot compile, even after install of dependencies

I have downloaded the libechoprint project. After installing Homebrew, and boost and other dependencies, I was able to produce libechoprint-codegen-ios.a successfully, and make a FAT file out of it to use in the echo print for iOS sample.

However, I can't compile the echo print-ios sample. It gives me this error:

Undefined symbols for architecture armv7:
"__ZN7CodegenC1EPKfji", referenced from:
__Z15codegen_wrapperPKfi in Codegen_wrapper.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Any help? I really need this framework.

bug with iOS 7

After some investigation going on. I've found a problem in Codegen_wrapper.cpp of this particular code:

string s = c->getCodeString();
return s.c_str();

the s.c_str() method is using to return the code in const char variable. When I used a break point to check the value of the variable. It worked okay but it always will return empty string to outer function.

I've checked on other people who having const char problem in iOS 7 and there's a topic about it. http://stackoverflow.com/questions/18901776/ios-6-and-7-doesnt-return-same-results

The cause is that const char is null-terminated string. So when it's return to outer function. it will be destroyed by ARC. (I'm not really sure about it though. Still working on iOS skill) The workaround is still working on. I have a little knowledge in C++. So, if anybody can help me with this one I will be really appreciate. :D

Can't compile

Hi, I am trying to compile the iOS example and have following issues:

ld: warning: directory not found for option '-L/Users/Yrgel/Desktop/echonest-echoprint-ios-sample-b937c04/../../echoprint-codegen/src/echoprint-codegen-ios/build/Release-iphoneos'
Undefined symbols for architecture armv6:
"vDSP_vsmul", referenced from:
Spectrogram::SimpleFFT(float
&) in libechoprint-codegen-ios.a(Spectrogram.o)
"_vDSP_destroy_fftsetup", referenced from:
Spectrogram::~Spectrogram()in libechoprint-codegen-ios.a(Spectrogram.o)
Spectrogram::~Spectrogram()in libechoprint-codegen-ios.a(Spectrogram.o)
"_vDSP_create_fftsetup", referenced from:
Spectrogram::Init() in libechoprint-codegen-ios.a(Spectrogram.o)
"vDSP_ctoz", referenced from:
Spectrogram::SimpleFFT(float
&) in libechoprint-codegen-ios.a(Spectrogram.o)
"_vDSP_fft_zrip", referenced from:
Spectrogram::SimpleFFT(float*&) in libechoprint-codegen-ios.a(Spectrogram.o)
ld: symbol(s) not found for architecture armv6
collect2: ld returned 1 exit status

Can anybody please tell me how to fix this?

GetPCMFromFile and iOS 3.1.3

Hi,

We'd like to use echoprint codegen in one of our projects, and we ran this successfully in iOS 4.
We then tried on our "old" iPodTouch with firmware 3.1.3, which we'd like to support and it fails. Specifically, the function GetPCMFromFile will give an OSStatus error because the format kAudioFormatFlagIsFloat / kAudioFormatFlagsNativeFloatPacked is not supported.
We can get PCM frames using kAudioFormatFlagIsSignedInteger but then the rest of the code is not appropriate anymore and the fingerprint returned is wrong or empty.

Any chance to add support for iOS 3.1.3?

Thanks.

make this better

from jimmcgowan

I'm using the EchoPrint Codegen for an OSX based project, and I was
looking through the iPhone example code, and it seemed a bit
overcomplicated as it does an audio conversion to LPCM of the whole
compressed file, writes out the uncompressed version to disk and then
re-reads the uncompressed file to input to the codegen. A more
efficient method is to create an ExtAudioFile for the compressed file,
attach an LPCM format description to the ExtAudioFile as its Client
Format, then read the first 30 seconds of the file into a buffer. The
client format causes the results of the read to be in the LPCM format,
so the buffer can be passed directly to the codegen.

I've posted a code sample at https://gist.github.com/1073528
Hopefully it will help iOS or Mac OS X Cocoa developers get off the
ground with EchoPrint a bit quicker.

Thanks to the EchoPrint team for giving is such a great tool!

Problems with libechoprint-codegen-ios.a

Hi!

I am new to iPhone app development so please bear with me :)

After first compiling libechoprint-codegen-ios.a I got the following warning and error messages when trying to compile echoprint-ios-sample:

warning: ignoring file /Users/wnurmi/Documents/echoprint-ios-sample/libechoprint-codegen-ios.a, file was built for archive which is not the architecture being linked (i386) Undefined symbols for architecture i386: "Codegen::Codegen(float const*, unsigned int, int)", referenced from: codegen_wrapper(float const*, int) in Codegen_wrapper.o

After some googling, I managed to add the i386 architcture to the echopring-codegen-ios project settings, but this resulted in the following warning when compiling the echopring-codegen-ios project:

warning: no rule to process file '$(PROJECT_DIR)/echoprint-codegen-ios/../../AudioBufferInput.cxx' of type sourcecode.cpp.cpp for architecture i386

This warning is repeated for all eight .cxx files in the project and results in warnings and errors when trying to compile the echoprint-ios-sample:

warning: ignoring file /Users/wnurmi/Documents/echoprint-ios-sample/libechoprint-codegen-ios.a, missing required architecture i386 in file Undefined symbols for architecture i386: "Codegen::Codegen(float const*, unsigned int, int)", referenced from: codegen_wrapper(float const*, int) in Codegen_wrapper.o

I have googled for hours, but all advices are for java or .h files (that have been accidentially placed in Compile Sources build phase when they should be in Copy Heareds phase). But my problem is with .cxx files, and thus these advices have proved useless. Does anyone have any idea what is causing my problem or how I could add a build rule for the .cxx files for i386?

I have been trying to get this working the whole day. All help would be much appreciated!!

Why iOS not recoqnize anything?

Hi,

i compiled the iOS example app, tried to use microphone input. tried it with various song and always got no match.

the response is

2011-08-20 17:25:02.187 echoprint[8592:707] {
response = {
songs = (
);
status = {
code = 0;
message = Success;
version = "4.2";
};
};
}

does it recoqnize any songs at all?
what songs should i try?

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.