I also made a stackoverflow Q&A from this: http://stackoverflow.com/questions/23679205/how-to-record-audio-in-web-page-using-windows-phones-microphone
Let's take recording audio using device's microphone for example. With web techs you would have following options:
- Get audio using HTML5 file API
- Record audio using Flash/Silverlight