Feurier Transform - advice on FFT (compare 2 audio samples) ?

Need to compare 2 samples for possible match.

Has anyone got any experience of this?

Thanks in advance. [import]uid: 97524 topic_id: 18618 reply_id: 318618[/import]

Without access to low level sound lib? I don’t think is possible in Corona SDK right now.
I did something like this in flash some time ago (Internet busic bank - for sound samples listening):
http://pokazywarka.pl/dy8f1n/

Best regards

[import]uid: 12704 topic_id: 18618 reply_id: 71549[/import]

I noticed there a luaFFT ? I assume there’s a way to dump both samples into memory and run the FFT on the data ?

Never done it, just wanted some advice if it was possible or not? [import]uid: 97524 topic_id: 18618 reply_id: 71556[/import]

AFAIK we don’t got access to the audio data, which is somewhat unfortunate. However, they probably have concluded that most applications that would use DSP would be too slow in practice when implemented in Lua on mobile devices.

What’s more unfortunate is there’s no way to interface with native code that would’ve solved the speed issue. [import]uid: 58849 topic_id: 18618 reply_id: 72085[/import]