小玩具——知识卡(语音识别播报)
之前写了一个小玩具:知识卡(RFID)
功能是:语音回放模块存储语音。刷卡即可播放相应的语音。
[En]
The function is: voice playback module stores voice. Swipe your card to play the corresponding voice.
使用场景:例如记录动物叫声,然后再卡上绘制或粘贴对应的动物介绍,通过刷卡可以听到此动物的叫声。当然还有其它用法,发挥自己的想想吧。对于小朋友是个不错的玩具~
这一次,我们将有一个升级版本,使用语音控制。~
[En]
This time we will have an upgraded version, using voice control. ~
本基础项目实现功能:
- 设置好关键词
- 根据关键词播放对应音频
; 材料及接线
MR开发板
; AI离线语音识别模块
市场上有很多语音模块,所以我选择了一个更方便的。
[En]
There are many voice modules in the market, so I chose a more convenient one.
引脚说明
开发板语音模块喇叭5V5VGNDGNDSPK+红线SPK-黑线
是的,你没看错。此机箱开发板仅供电源使用。未来它将被用作语音识别汽车。(是的,我只是太懒了。我不想改变现状。)
[En]
Yes, you read it correctly. This case development board is only for power supply. It will be used as a voice recognition car in the future. (yes, I’m just lazy. I don’t want to change the picture.)
示例程序:
注意,这个案例程序都是在语音模块平台上设置的,然后当固件传输到语音模块时。
[En]
Note, this case program is all set up on the voice module platform, and then when the firmware is transmitted to the voice module.
简单地说,语音模块的功能已经设置好了。
[En]
To put it simply, the voice module function has been set up.
; 使用方法
- 进入官方语音平台http://smartpi.cn自行设置。(买板子的时候卖家会给教程,这里不赘述。这里只交朋友们如何用。)
- 唤醒词:小智小智
- 使用范围。我开到了最大音量。朋友们只需按需换喇叭就行。(因为不是产品,所以精度和识别率都很一般。尽可能靠近它说话)
- 如何实现鸟叫的,其实,就是替换一下音频文件而已。
- 附加制作好的固件,可按需下载(自己做的话会更有意思。)
jx_firm.tar
Original: https://blog.csdn.net/weixin_45020839/article/details/122056794
Author: 咸鱼箘
Title: 小玩具——知识卡(语音识别播报)
原创文章受到原创版权保护。转载请注明出处:https://www.johngo689.com/512030/
转载文章受原作者版权保护。转载请注明原作者出处!