I have an App which uses AudioRecord to read the data from the Microphone, for telling me which Frequency has the sound it is being recorded.
But, it does not record the Audio in a File.
And I am currently needing that.
To store the read data from the Microphone, into a .wav file, somewhere.
You can see in the Attached Image what is written in the Code regarding AudioRecord.
Now, you have to use AudioRecord to devise the solution.
Because you can not just put also a MediaRecorder implementation with at the same time using AudioRecord, because one of the two will not work.
I have read here that you can solve the problem by adding a Wav Head or Header: [login to view URL]
Which lead to this: [login to view URL]
You can use this solution, or any other that you know.
If any of you know how to actually implement the Audio being saved in a Wav File, using Audio Record, I invite you to send me your application.
If you need to explore on your own the App, I leave a Zip File with the Android Studio Project of the App Attached.
I'll await for your proposals.
Thank you for your time.