I want have this code
Edi.speak ("would you like more information")
bool accepted = speechrecognized
If (speechrecognized = yes)
{
}
else
{
}
i know this is wrong but i want the user to say yes through the microphone and the statement is carried out when yes, but if the user says no it carries out the statement. how do i get the yes and no through to the if statement using speechrecognition. please forgive for lack of better way to explain my situation. Thanks
Aucun commentaire:
Enregistrer un commentaire