Voice Recording in Unity3d
In this tutorial, I will explain the usage of the Unity component I created for recording Mic Input in Unity and saving the file as .wav in the Streaming Assets Directory
How it works
Download Unity Recorder Package, you will find the unity package at https://github.com/ah1053/UnityRecorder
Add the Unity Recorder Package to your Project
Add The Recorder Component to any GameObject
Select a Keyboard Key or a UI Button and add to the Recorder Component
Play the Scene
Say something then press the selected KeyCode or the Button
You will find the Audio WAV file saved in StreamingAssets Folder
I have used Microsoft wave sound file format to understand the anatomy of the WAV files.
Image source : http://soundfile.sapp.org/doc/WaveFormat/