added ability to configure microphone from example index.html.
during playback resample audio to 44kHz using a formula from as3sound