VC-01 / VC-02 Reply Words(s) palyback control from external MCU via UART

[复制链接]
查看2096 | 回复6 | 2024-1-22 02:09:52 | 显示全部楼层 |阅读模式
本帖最后由 RCT_Master 于 2024-1-22 02:19 编辑

Hello Dear Friend,

Do you have an API to control the playback of Reply Word(s) via UART? In ASR techology
sometimes it is called Passive Mode.

I mean we DO NOT want the VC-0X module (US516P6) to play Reply Word automatically
after the Command Word recognition, but we NEED to send (via UART) an order command
with allowance to play (by speaker) selected (selectable by us) Reply Word by e.g. sending
UART frames with Reply Word codes.


Can we do that? Hope it is possible with your VC-01 / VC-02 modules.

If we must make some second code development (inside C code), please provide us
instructions how/where to modify C code and recompile the code to firmare.
Perhaps you will suggest some better solution..?...

Thank you in advance for your valuable support.

Best Regard

   Wojciech

@: wl@raycon.pl








回复

使用道具 举报

Ai-Thinker小泽 | 2024-1-22 09:15:14 | 显示全部楼层
Hello Wojciech,

I am fortunate to answer this question for you.

Firstly, you need to configure and generate an SDK for serial port output on our official platform.

Secondly, set up the environment and download the SDK to ensure that it can be compiled and run.

Next, you need to write a serial callback function {int user_uart_send (const char * buf, int len)} and call it during serial initialization.

Finally, the content of the serial callback function can call the API for broadcasting voice, {int user_player_play (AUDIO-PLAY-TYPE type, const char * file).} This audio file can be generated on our platform, and the sequence name of the MP3 file can be seen in the path {/uni_hb_m_solution/unione_lite.app_hb_m/tools/scripts/tools}.

For detailed development materials, you can refer to our official docs page, Ai-Thinker_VC-01/02which includes development manuals and application documentation. However, there may be some materials available in English, and we hope it will be helpful to you.

Thank you for using Ai-Thinker's products.

Yours,
XiaoZe
回复 支持 反对

使用道具 举报

WT_0213 | 2024-1-22 09:23:19 | 显示全部楼层
回复 支持 1 反对 0

使用道具 举报

爱笑 | 2024-1-22 09:47:13 | 显示全部楼层
Dear Sir,

It can support, but need send code development.

Each product has different SDK, first register account to make your own command on platform to complie an SDK.
Platform link :  http://voice.ai-thinker.com/#/
Platform toturial: https://blog.csdn.net/Boantong_/article/details/124689101
Build linux environment toturial: https://blog.csdn.net/Boantong_/ ... 1001.2014.3001.5501
SDK development toturial: https://docs.ai-thinker.com/_med ... oice_opencpu_1_.pdf
Use manual: https://docs.ai-thinker.com/_media/vc-0102_manual.zip
Application demo: https://aithinker.blog.csdn.net/article/details/124098329

Hope it can help you.
用心做好保姆工作
回复 支持 反对

使用道具 举报

曹县 | 2024-1-22 16:54:07 | 显示全部楼层
回复

使用道具 举报

17755130686 | 2024-7-8 18:00:51 | 显示全部楼层
回复

使用道具 举报

putin | 2024-9-26 17:59:42 | 显示全部楼层
Helo welcome to axkbbs
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则