I would like to have Siri ask a user a question (text to speech - this part
is easy), and then wait for a user's response (with end of speech
detection). Then Siri will ask the user, "did you say <what they said>?" -
etc.

There is SFSpeechRecognizer, and then there is SiriKit.
The SFSpeechRecognizer I've seen online all do this listen for a maximum of
1-minute thing. I was thinking of using that & running a timer... if no
new bestTranscription.segments come in for a while (2 or 3 seconds), assume
that the user stopped talking, and then stop listening, and then do things.

Is that a good approach? I am want to use voice to help a user drop a pin
where they stand without needing to touch the screen. Is there something
out there on Github I can adapt to use for this? I'd rather spend my time
on other things rather than burning cycles on the voice assistant aspect of
this app if possible.

Thanks,
Eric
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to