Voice Recognition in PHP?
Asked Answered
E

3

9

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?

Eloquence answered 22/4, 2012 at 15:58 Comment(2)
Didn't even know that WAS possible in PHP?Bezant
"Why would someone do that in PHP" the above question been tagged in php ...so refrain from using negative comments if you can't do hands up thankfully no downgrade was thereUnreflecting
B
5

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

Bestiary answered 22/4, 2012 at 16:1 Comment(0)
S
0

Similar questions have been asked before. You might want to see https://mcmap.net/q/539146/-text-to-speech-voice-generation-and-speech-to-text-voice-recognition-apis to start your search for a speech engine.

There have also been a few questions regarding uses Php for speech recognition in web pages. Doesn't seem like your doing that, but it is Php - https://mcmap.net/q/1318987/-speech-to-text-conversion-php-javascript-or-flash-online

Sitting answered 24/4, 2012 at 13:48 Comment(0)
E
0

You can use our voice recognition api in rapidapi for free, php code sample is also available. Available for English and French. Use the following link: https://rapidapi.com/user/hivoicy-vxmKOG2vl

Ergograph answered 14/4, 2021 at 5:19 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.