Hello all.
Let me first start off by saying that I’m new to this. I’m studying lua a lot and muddling my way through creating an app. Been lots of fun so far.
Now to the question at had. I was looking through the new audio api features in Corona. I noticed that you can now make a sound tuner, aka the Guitar tuner. I was wondering if it is possible to use the audio api to make a multi frequency audio analyzer. Say something like Audalyzer or RTA Audio Analyzer. These are both on android. I’m not sure what’s available for iphone.
I just need to know if it’s possible with corona. Don’t need to know how to do it. That’s the challenge I plan on undertaking if it is possible. I would just like to know if it is possible before I start spending a lot of time trying to do it.
Thank You.
Will Lambirth [import]uid: 7733 topic_id: 2152 reply_id: 302152[/import]
I’m not familiar with the apps you mentioned, but Corona 2.0’s audio API probably would not be sufficient in its current form. You could use it to produce a waveform display but probably not to display the frequency spectrum. In the future we might consider adding this as a feature if there was sufficient interest.
I would just like to second my interest in this, as I think there are a lot of apps which could make use of this. Has there been any other interest or developments, Ansca?
Bump. Tried recording while playing music to get the freq, but difficult to test since one can’t record in the simulator…
[import]uid: 5186 topic_id: 2152 reply_id: 23913[/import]
prior to that we had to extract the values of an audio file with an external tool and use a text file that matched up with sound.position, but that’s no good in your case i guess as you want realtime analysis of an audio input right?
i would move this to the feature request forum as it’s not specifc to the Lua language.
realtime extractFrequency and extractSamples function/event would be good features
Hi snarla,
Can I play a mp3 file and display its waveform at the same time? Which API can I use to extract the waveform data?
Thanks! [import]uid: 35642 topic_id: 2152 reply_id: 25468[/import]