Alexa 技能:如何在 alexa speechout 继续时接受响应

Alexa Skill : How to accept response while alexa speechout continuing

UseCase - Quiz skill:Alexa 用 30 秒(倒计时)提问。

倒计时,我关注了

问题:如果用户回答了一个问题,倒计时将开始。 Alexa 没有接受响应,而是继续倒计时。 Alexa 仅在倒计时后才接受响应。

My speech out/speak from Alexa looks like this:  Sam Your Question Nobody enjoys this feat? Your time start now 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1

有什么建议

很遗憾,你不能。您正在使用的倒计时代码会在倒计时期间输出语音。在语音输出期间你不能"open the microphone"(没有蓝环)。只有在语音输出完成并且您已提示用户输入后,麦克风才会打开以供用户响应 eight seconds

你最好的选择是做你的倒计时演讲或播放一个简短的 "thinking" MP3 剪辑(想像 Jeopardy 之类的东西)一段固定的时间,然后提示用户回答。类似于“10、9、8、7、6、5、4、3、2、1。时间到了!你的答案是什么?”

如果你想让 Alexa 接受你的回答,那么你必须说出唤醒词 "Alexa"。唤醒词是您随时打开麦克风并停止倒计时的唯一方法。所以说 "Alexa",然后给出你的回应。这会起作用