Using Google Apps Script I would like to ask user for audio input through a microphone, and then save the resulting file to google drive (preferably in flac format). I can then send the file to Google Cloud Speech API and get the text.
What are the approaches I can take to get the audio file from mic?
AFAIK Google Apps Script doesn't include a service that helps to get the audio from a mic but you could use an external API or with JavaScript / HTML5 by creating a UI by using the HTML Service.
Related