Hi! I’m fairly new to Corona and am struggling to find a way to detect a user blowing into a device’s microphone. I’m hoping to implement an interaction in which a user blows out a candle on screen. Any previous examples I’ve come across no longer work (ie using the tuner function). Anyone got any ideas? :)
Hi @amy.laura.b,
You can create an audio recording via the following API:
https://docs.coronalabs.com/api/library/media/newRecording.html
However, unfortunately, you won’t be able to “analyze” that recording with base Corona SDK. For that, you’d need to use Corona Enterprise and build in some sort of native audio detection functionality that determined the actual volume/length/etc. of the recording.
Best regards,
Brent
Hi @amy.laura.b,
You can create an audio recording via the following API:
https://docs.coronalabs.com/api/library/media/newRecording.html
However, unfortunately, you won’t be able to “analyze” that recording with base Corona SDK. For that, you’d need to use Corona Enterprise and build in some sort of native audio detection functionality that determined the actual volume/length/etc. of the recording.
Best regards,
Brent