Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Voice Recognition in PHP?

I am looking for Voice Recognition in PHP.

I have a lot of wav files (10-15 seconds) and I would like Voice Recognition to recognise 1 or 2 words from each wav file and then flag it to database or csv.

All the files have the same voice and accent (same person lol)

Example pseudocode:

$voice = new play('file.wav');
$result = $voice->recognise("Good Morning");
if ($result) { 
  echo "Matched Good Morning"; 
  //flag to database or csv
 } else { 
  echo "No match found";
 }

Which PHP Voice Recognition library can do this?

like image 417
I'll-Be-Back Avatar asked Apr 22 '12 15:04

I'll-Be-Back


People also ask

How do I add voice recognition in HTML?

When speech input is enabled the element will have a small microphone icon displayed on the right of the input. Clicking on this icon will launch a small tooltip to show that your voice is now being recorded. You can also start speech input by focussing the element and pressing Ctrl + Shift + .

How does voice Recognition work?

The speech recognition software breaks the speech down into bits it can interpret, converts it into a digital format, and analyzes the pieces of content. It then makes determinations based on previous data and common speech patterns, making hypotheses about what the user is saying.

How many types of voice recognition are there?

There are two types of speech recognition. One is called speaker–dependent and the other is speaker–independent. Speaker–dependent software is commonly used for dictation software, while speaker–independent software is more commonly found in telephone applications.

What is the best speech recognition API?

Amberscript. Get the most accurate and one of the best speech-to-text APIs in the market – Amberscript. It provides custom ASR models according to your needs and lets you integrate them easily with your software for real-time audio and video files, texts perfected by humans, and phone calls.


1 Answers

PHP doesn't have this functionality built in but there are APIs available for this Sphinx is one.

like image 168
John Conde Avatar answered Oct 02 '22 05:10

John Conde