HTML5 Speech Recognition API allows JavaScript to have access to a browser's audio stream and convert it to text.

Synthesis

Recognition

Resources Useful websites and tutorials