Posts tagged process
MediaRecorder vs AudioRecord
Sep 8th
You know, with the MediaRecorder class it’s easy to capture video from camera and audio from mic, but you have to specify an encoding format and an output file to store the byte stream.
Looking around, I see that the AudioRecord class allows to capture audio from the mic and “process” it without saving it to a file. I’m going to need this to detect if some sounds are getting produced by an user to the mic and how loud these sounds are.
Have you any experience with the using of this class? I’d like to go deep with that and maybe I will read documentation trying to get something, but if you already used it I’d be glad to know your results. Please leave a comment to this post if you can help me, thanks.
