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?