** Hi All, I have received few requests to ask me to post App here in the Blog **
Hi Guys, I wished you all had a happy holidays!
It’s been a while since I published my last tutorial. This morning, when I checked MIT App Inventor 2 web editor, I found few new interesting new components.
One of them specially caught my eyes is the “SpeechRecognizer” under Media block.
Checked the explanation on the right, I decided to do a quick test on this new component.
What I want to do here is very simple:
- Click “Speak” button to talk to the App
- The App send the voice to SpeechRecognizer
- The App then show the particular sentence into a Text next to “You’ve said”
Here are the programming blocks. Only few blocks to get the Speech Recognizer to work. I was very surprised!
Well, that’s all need you do do the complete Voice Recognizer App.
See the YouTube Video for the demo below.
I guess you might want to give it a try now!
The End.
==================================================================
** Hi, 收到幾位朋友希望我把 .APK 放到這裡可以直接下載!沒問題,已經放到底下連結 **
哈囉大家好,但願大家都有一個開心的假期!
距離上次我發布新的教學已經有一段時間 了。這個早上,我在查看MIT App Inventor 2時
我發現了幾個有趣的新東西。
第一個吸引我的目光的是音樂裡的「聲音辨識」。看一下解釋後,我決定針對這個新東西做個小測試。
我要做的測試非常簡單:
- 按下「說話按鈕」後對他說話
- 程式把你說的話丟給聲音辨識系統
- 辨識完後再將你說的話顯示出來
Here is the Screen1 Layout:
這些是程式方塊。其實,只要這些方塊就能使聲音辨識起作用讓我還蠻驚訝的呢!
首先,先設定變數和把文字設定成空格。
再來,當「說話按鈕」被按下時,就叫聲音辨識元件辨識並得到字串.
當系統辨識完後,就將它設成文字。
只要有上方這幾行程式就能完成你的聲音辨識App了。
請觀看底下的示範影片。
我想你現在一定迫不及待想去試試看了吧!




謝謝! 🙂
You are welcome!