Ok, the library is done and works great, simple and easy.
You can save in many formats, even mp3 and wav.
I did not add your Mic levels, as I don't know what you mean with it.
Howevern I can add that you can mute or unmute your microphone.
XverhelstX
I'll elaborate. If you build it, they will come. ;-)
1. It must be able to monitor the levels the microphone is recieving. It must be able to do this without having to be writing to a file (just "listening").
2. It must be able to trigger an event when level variables are met (ie, trigger an event when level goes above or below MIC input level variables).
3. So something like this would be possible (forgive me, I'm a VB guy and still relatively new to B4A, so pardon the syntax butchering):
Microphone1.Listen
Do while Microphone1.Listening
If Microphone1.Level >= 50, then
Microphone1.StartRecording(filenamewhatever)
End If
If Microphone1.Level <= 25 then
Microphone1.StopRecording
Microphone1.StopListening
End If
Loop
Something to this effect (above). Produce such a library, and you'll be everyone's hero, starting with me. :sign0188: