I think I have tried all possible permutations for sound recorder but can not get a wav format output. Anyone done it?
ToastMessageShow("Preparing the AudioRecorder.",False)
AR.AudioSource = AR.AS_MIC
AR.OutputFormat = AR.OF_THREE_GPP
AR.AudioEncoder = AR.AE_AMR_NB
AR.setOutputFile(File.DirDefaultExternal,"myRecording.wav")
AR.prepare()
I plan to try my luck with adding audio / video recording to the Audio library. Hopefully it will solve this issue.
AudioRecordApp uses the default recording app for the recording. The format is 3gpp. You will need to install a codec in order to play it with Windows Media Player.
You can record a wav file with the AudioRecord Library, see the demo app for the required wav header.