简体   繁体   English

语音识别MIT应用程序发明者

[英]Voice Recognition MIT app inventor

I am creating a voice recognition app with MIT AppInventor that can match the voice I recorded that will activate the alarm. 我正在使用MIT AppInventor创建一个语音识别应用程序,该应用程序可以匹配我录制的语音并将激活警报。 Problem is that I don't know how to match the voice I recorded to my voice recognition app to be able for the phone to activate the alarm. 问题是我不知道如何将录制的声音与我的语音识别应用程序匹配,才能使手机激活警报。

All you need to do is add a series of codes that save your recorded audio/speech recognizer input to a TinyDB. 您所需要做的就是添加一系列代码,将您录制的音频/语音识别器输入保存到TinyDB中。 To do this, you create a button or something to trigger the block "call speech recognizer.get text". 为此,您创建一个按钮或其他东西来触发“呼叫语音识别器.get文本”块。 After that is done you place down the "After SpeechRecognizer.get text" block and inside it place the "call DB1.store value", and set the value to the variable "result" provided by "After speechrecognizer.get text". 之后,放置“ After SpeechRecognizer.get text”块,并在其中放置“ call DB1.store value”,并将该值设置为“ After speechrecognizer.get text”提供的变量“ result”。 I made an example with a few other things that make it seem larger than it actually is, mainly other means of security. 我举了一个例子,列举了一些其他因素,使其看起来比实际要大,主要是其他安全手段。 The screenshot is outdated, I added a few things after but they're just minor preference tweaks that have no effect on the functionality of the program. 屏幕快照已过时,我在此之后添加了一些内容,但它们只是次要的调整,对程序的功能没有影响。 Please enjoy! 请享受! https://docs.google.com/document/d/14PunjHwjBxdyJcaKtoNydpz7U5w2FgQwPXUrRjGNqpk/edit?usp=sharing . https://docs.google.com/document/d/14PunjHwjBxdyJcaKtoNydpz7U5w2FgQwPXUrRjGNqpk/edit?usp=sharing

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM