androidthings / sample-googleassistant

Google Assistant API sample for Android Things
Apache License 2.0
467 stars 147 forks source link

How to find the end of audio response ? #36

Closed Ranjith1992 closed 6 years ago

Ranjith1992 commented 7 years ago

I want to know the end of audio response(audio out) to start a new session. Use case: User : Set alarm Response : what time ?

User : 6:30 Response : Ok,Setting alarm to 6:30

For this case, i need to know audio finish status after the response "what time ?" to start new session.

Kindly help .

Fleker commented 7 years ago

You can listen to the Converse Response event END OF UTTERANCE.

On Aug 4, 2017 2:42 AM, "Ranjith1992" notifications@github.com wrote:

I want to know the end of audio response(audio out) to start a new session. Use case: User : Set alarm Response : what time ?

User : 6:30 Response : Ok,Setting alarm to 6:30

For this case, i need to know audio finish status after the response "what time ?" to start new session.

Kindly help .

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/androidthings/sample-googleassistant/issues/36, or mute the thread https://github.com/notifications/unsubscribe-auth/ADI587e2e7Ql6ouDPDwb0m9FD6I3TWssks5sUst3gaJpZM4OtYkE .

proppy commented 7 years ago

Maybe we could update the sample to listen for END_OF_UTTERANCE?

Fleker commented 7 years ago

Yeah definitely working on it

On Aug 9, 2017 5:08 AM, "Johan Euphrosine" notifications@github.com wrote:

Maybe we could update the sample to listen for END_OF_UTTERANCE?

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/androidthings/sample-googleassistant/issues/36#issuecomment-321236569, or mute the thread https://github.com/notifications/unsubscribe-auth/ADI58xna8ZvSjqDK1Jc1iFmNeIvaYpzUks5sWaFLgaJpZM4OtYkE .