HACKER Q&A
📣 truetaurus

JavaScript Library to Compare Sounds


I am trying to find a way to detect the sounds of the phonetic alphabet. That's things like alpha, bravo, ... zulu.

Basically someone uses their microphone, speaks, and I want to compare their sound to that of one of the phonetic alphabet sounds.

Can anyone point me into the direction of some sort of library/package if possible to do this?

Alternatively an API could also work.


  👤 truetaurus Accepted Answer ✓
Figured out a simple solution. Was over thinking this.

Instead of comparing audio files, I could convert speech to text (which is quite easy to do in JavaScript). Then analyze the string!