语音控制灯:Jev 逐词判断并连续两次批准才执行
作者在语音控制家居中让 Jev 每说一个词就判断一次,需连续两次批准才触发设备,实现说到哪个设备就逐个改变状态。
I'll be doing a bigger writeup of how I've implemented this, don't worry! But a super short version is the system judges after each word, and Jev has to approve twice in a row because of this case: "Turn on my dresser lamp..." Jev gets ready "Turn on my dresser lamp to..." Jev says wait hold up "Turn on my dresser lamp to 50%..." Jev gets ready "Turn on my dresser lamp to 50% and..." Jev says EXECUTE and then the dresser lamp changes while I am finishing saying the other things I want to happen. It's particularly magical to have devices change state one by one as I name them. As someone who built her first voice-to-control-lights system TWENTY THREE YEARS AGO with a duct-taped microphone on the ceiling that communicated to X-10 lightswitches, Jev allowing me to do something I've never seen before in voice interfaces is such a dream moment.
这条是引用着另一条写的:x.com/allietheicon/status/2113317258839953571