T tjaleks New Member Licensed User Longtime User Jan 20, 2011 #1 Just downloaded and started to learn Basic4Android a few days ago. Love what I've seen so far. Great product! I searched, but didn't see an obvious answer to my question. Is there a way to listen to the surrounding sounds via the microphone and measure the audo level? I don't want to record audio. I want to be able to trigger an event when the sound level hits a certain threshold in real time. Any tips or example on how to do so is appreciated.
Just downloaded and started to learn Basic4Android a few days ago. Love what I've seen so far. Great product! I searched, but didn't see an obvious answer to my question. Is there a way to listen to the surrounding sounds via the microphone and measure the audo level? I don't want to record audio. I want to be able to trigger an event when the sound level hits a certain threshold in real time. Any tips or example on how to do so is appreciated.
Erel B4X founder Staff member Licensed User Longtime User Jan 21, 2011 #2 This is currently not supported. Upvote 0
Highwinder Active Member Licensed User Longtime User Sep 26, 2011 #3 Monitoring sound levels Erel, is this supported yet? Badly need this! :sign0163: Upvote 0
Highwinder Active Member Licensed User Longtime User Jul 30, 2012 #4 ??? Erel, any update to this? Upvote 0
vb1992 Well-Known Member Licensed User Longtime User Jul 30, 2012 #5 this doesn't help you http://www.b4x.com/forum/bugs-wishlist/11731-badly-needed-microphone-library-3.html#post90058 Upvote 0
this doesn't help you http://www.b4x.com/forum/bugs-wishlist/11731-badly-needed-microphone-library-3.html#post90058
Erel B4X founder Staff member Licensed User Longtime User Jul 30, 2012 #6 There are two related libraries which you should check: AudioRecord and AudioRecorder Libraries - Basic4android Wiki I'm not deeply familiar with them so I do not know whether you can use them to capture audio level at runtime. Upvote 0
There are two related libraries which you should check: AudioRecord and AudioRecorder Libraries - Basic4android Wiki I'm not deeply familiar with them so I do not know whether you can use them to capture audio level at runtime.