发帖
6 0 0

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

RCT_Master
新手上路

0

主题

0

回帖

20

积分

新手上路

积分
20
VC系列 2432 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








──── 0人觉得很赞 ────

使用道具 举报

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
2024-1-22 09:23:19
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
2024-9-26 17:59:42
Helo welcome to axkbbs
您需要登录后才可以回帖 立即登录
高级模式
返回
统计信息
  • 会员数: 28220 个
  • 话题数: 40145 篇