DEV Community

Jochem Stoel
Jochem Stoel

Posted on

Explain like I am five how to write a javascript function that transcribes an audio file from the client using Google Speech API

  • Title says explain but by all means do demonstrate.
  • The audio source is a file and not client microphone. Ultimately same thing. (please do not explain the difference between a file input in a browser and Node)
  • I read somewhere that audio files shorter than some length do not require an API key. Is this true?
  • In this particular case spaghetti code is fine.

Top comments (4)

Collapse
 
idanarye profile image
Idan Arye •

I... don't think this fits as an ELI5 question...

Collapse
 
andy profile image
Andy Zhao (he/him) •

Hey Jochem, we have a #help tag now if you want to use that instead. Probably better suited for your needs.

Also, I'm sure people are willing to help if you elaborate a bit more.

Collapse
 
jochemstoel profile image
Jochem Stoel •

Thank you. Sorry I was completely unaware of this tag.

Collapse
 
courier10pt profile image
Bob van Hoove •

Could you show us what you tried?