Golang voice recording


(Shubh) #1

I have been wondering if golang have any library that will allow to record voice from a windows machine mic and save it locally in .raw format.

Scenario -> I have been trying to convert speech to text using google speech api . Examples on their page only show use of .raw file which i have to download and store locally.
But i want to record voice then supply this file to google speech API.
Any help will be highly appreciated.
Thanks in advance.