[CB5654智能语音开发板测评] CDK开发环境搭建,重刷YoC智能语音SDK
<p> 开发板,端云一体开发∶集成阿里云引擎及阿里生态,丰富云端内容 成功率端侧算法∶ 高成功率的端侧语音识别算法 多种配网模式∶支持WIFI配网,APP配网,一键配网等多种配网模式 低功耗模式∶支持VAD唤醒,睡眠等低功耗模式 多种升级模式∶ 支持JTAG升级,串口升级,WIFI局域网升级等多种升级模式 W800 无线开发板 W800 无线开发板是一款基于IoT Wi-Fi/蓝牙 SoC 芯片W800的调试板卡,兼容Arduino接口。支持作为Wi-Fi/蓝牙 模块与其他MCU主板今天对接调试,也支持作为主控设备进行开发调试。</p><p> YoC智能语音SDK从底向上分为驱动层、组件层、语音应用平台层。驱动层包含Rhino操作系统及WiFi芯片驱动、蓝牙驱动、声卡驱动等各种外设驱动。组件层提供了丰富的软件功能模块,而语音应用平台为行业应用提供了成熟的解决方案。<br />
方案架构:组件层提供了多样化的组件,包括语音服务、播放器、功耗管理、算法框架、NLP/ASR/TTS等等。其中ASR/NLP/TTS服务由云端提供,云服务组件将其与端侧硬件无缝衔接在一起,开发者无需关心云端交互流程,即可通过简单的接口获得语音识别服务。云服务组件再结合语音服务组件、播放器组件这些语音应用的核心组件,就可以便捷得搭建出各种应用解决方案。</p>
<p></p>
<p> CDK重刷固件</p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p> </p>
<p>重刷固件配网失败,肿么办?</p>
<pre>
<code>dsp int params: 600 5000 10000 0 1 2 0 -0.600000 -0.600000 -0.6000 0 -0.600000 3
dsp audio inited!
ap_rb_mic=0x20000190(20000e40,6400,0,4544)
ap_rb_ref=0x256e840(2608590,6400,0,4864)
a avfilter, name = atempo2
res_order1_proc
[ 3.710]<D>filter_swr open a avfilter, name = swr
[ 3wakeup audio stat init 0 260
expect output length 1280 out_mono_len 640
.715]<D>ao_alsaao open
[ 3.725]<D>ao ao ref:warning: FE process. ret=0, out_length=0, firstFrame,ignore.
openref =1, startref =0, fun = __ao_open
[ 3.736]<D>ao ori sf ==> sf = 32768146, rate = 16000, ch = 1, bits = 16, siged = 1, float = 0, endian = 0
[ 3.746]<D>ao aosf ==> sf = 98304274, rate = 48000, ch = 2, bits = 16, siged = 1, float = 0, endian = 0
[ 3.756]<D>ao ao ref: openref =1, startref =1, fun = __ao_start
[ 3.762]<D>media media(1) evt:2
samplerate 16000, 48000
[ 3.771]<I>player first frame output
[ 4.638]<D>stream read ret = 0, may be read eof, len = 0. 'file:///lfs/net_cfg_fail.mp3'
[ 4.646]<I>demux read packet may be eof. eof = 1, rc = 0, url = file:///lfs/net_cfg_fail.mp3
[ 4.655]<D>player cb run task quit
[ 4.658]<D>media media(1) evt:3
[ 4.662]<I>player player_stop, 663 enter. player = 0x26351b0
[ 4.746]<D>ao ao ref: openref =1, startref =1, fun = __ao_drain
[ 4.752]<D>ao ao ref: openref =1, startref =0, fun = __ao_stop
[ 4.758]<D>ao ao ref: openref =0, startref =0, fun = __ao_close
[ 4.765]<I>stream stream stat: to_4000ms = 0, to_2000ms = 0, to_1000ms = 0, to_500ms = 0, to_200ms = 0, to_100ms = 0, to_50ms = 1, to_20ms = 0, to_other = 56, cache_full = 0, upto_cnt = 0, rsize = 0, size = 3033, url = file:///lfs/net_cfg_fail.mp3
[ 4.787]<I>player player_stop, 674 leave. player = 0x26351b0
[ 4.792]<I>player player_free, 688 enter. player = 0x26351b0
[ 4.798]<I>player player_free, 699 leave. player = 0x26351b0
[ 4.804]<D>app audio player exit 2
[ 5.811]<W>auinlp get mac failed, use default mac
[ 5.815]<D>auinlp device uuid 00e090603012
NUI Things version:NUI Things version 20210112_170000 V1.10.25.021
use staic_token with token:a2f8b80e04f14fdb9b7c36024fb03f78
kws_handle_ins of vad_kws_wrapper is null.
kws is 宝拉宝拉 0
wake 1, kwid=1
[ 8.747]<D>app MIC_EVENT_SESSION_START,type= 1, cnt=1
[ 8.753]<E>app mic_evt net connect failed
pcm_en=0
stop state warning(kStateIdle)
[ 8.773]<D>smart_audio Enter smtaudio_start: current state
[ 8.779]<D>media state:1 type:1
[ 8.782]<D>media set vol:30 type:1
[ 8.786]<I>sc5654 i2s o1 pdev=0x2522a94
[ 8.790]<D>media play1 vol:30 url:file:///lfs/net_cfg_config.mp3
[ 8.796]<I>player player_new, 160 enter.
[ 8.800]<I>player player_new, 201 leave. player = 0x2678860
[ 8.806]<I>player player_play, 541 enter. player = 0x2678860
[ 8.813]<I>player player_play, 561 leave. player = 0x2678860
[ 8.827]<D>demux id3v2 size = 45
[ 8.830]<D>demux_mp3 mp3 probe, sync_cnt = 0, rc = 0, score = 100
[ 8.836]<I>demux find a demux, name = mp3, url = file:///lfs/net_cfg_config.mp3
[ 8.843]<D>avparser find a parser, name = mp3, id = 1
[ 8.849]<I>ad find a decode, name = pvmp3dec, id = 1
[ 8.855]<D>filter_atempo open a avfilter, name = atempo
[ 8.860]<D>filter_atempo2 open a avfilter, name = atempo2
res_order1_proc
[ 8.868]<D>filter_swr open a avfilter, name = swr
[ 8.872]<D>ao_alsaao open
[ 8.875]<D>ao ao ref: openref =1, startref =0, fun = __ao_open
[ 8.881]<D>ao ori sf ==> sf = 32768146, rate = 16000, ch = 1, bits = 16, siged = 1, float = 0, endian = 0
[ 8.891]<D>ao aosf ==> sf = 98304274, rate = 48000, ch = 2, bits = 16, siged = 1, float = 0, endian = 0
[ 8.901]<D>ao ao ref: openref =1, startref =1, fun = __ao_start
[ 8.908]<D>media media(1) evt:2
samplerate 16000, 48000
[ 8.918]<I>player first frame output
kws info 72 0 0
kws get 0x20b9540 29760 bytes data
<D>stream read ret = 0, may be read eof, len = 349. 'file:///lfs/net_cfg_config.mp3'
<D>stream read ret = 0, may be read eof, len = 0. 'file:///lfs/net_cfg_config.mp3'
<I>demux read packet may be eof. eof = 1, rc = 0, url = file:///lfs/net_cfg_config.mp3
<D>player cb run task quit
<D>media media(1) evt:3
<I>player player_stop, 663 enter. player = 0x2678860
<D>ao ao ref: openref =1, startref =1, fun = __ao_drain
<D>ao ao ref: openref =1, startref =0, fun = __ao_stop
<D>ao ao ref: openref =0, startref =0, fun = __ao_close
<I>stream stream stat: to_4000ms = 0, to_2000ms = 0, to_1000ms = 0, to_500ms = 0, to_200ms = 0, to_100ms = 0, to_50ms = 0, to_20ms = 0, to_other = 159, cache_full = 0, upto_cnt = 0, rsize = 0, size = 8541, url = file:///lfs/net_cfg_config.mp3
<I>player player_stop, 674 leave. player = 0x2678860
<I>player player_free, 688 enter. player = 0x2678860
<I>player player_free, 699 leave. player = 0x2678860
<D>app audio player exit 2
kws schedule timeout :10000 ms. so change to init mode:ScheduleMainAndCommand
kws_handle_ins of vad_kws_wrapper is null.
kws is 宝拉宝拉 7035
wake 2, kwid=1
<D>app MIC_EVENT_SESSION_START,type= 1, cnt=2
<E>app mic_evt net connect failed
pcm_en=0
stop state warning(kStateIdle)
<D>smart_audio Enter smtaudio_start: current state
<D>media state:1 type:1
<D>media set vol:30 type:1
<I>sc5654 i2s o1 pdev=0x2522a94
<D>media play1 vol:30 url:file:///lfs/net_cfg_config.mp3
<I>player player_new, 160 enter.
<I>player player_new, 201 leave. player = 0x2678860
<I>player player_play, 541 enter. player = 0x2678860
<I>player player_play, 561 leave. player = 0x2678860
<D>demux id3v2 size = 45
<D>demux_mp3 mp3 probe, sync_cnt = 0, rc = 0, score = 100
<I>demux find a demux, name = mp3, url = file:///lfs/net_cfg_config.mp3
<D>avparser find a parser, name = mp3, id = 1
<I>ad find a decode, name = pvmp3dec, id = 1
<D>filter_atempo open a avfilter, name = atempo
<D>filter_atempo2 open a avfilter, name = atempo2
res_order1_proc
<D>filter_swr open a avfilter, name = swr
<D>ao_alsaao open
<D>ao ao ref: openref =1, startref =0, fun = __ao_open
<D>ao ori sf ==> sf = 32768146, rate = 16000, ch = 1, bits = 16, siged = 1, float = 0, endian = 0
<D>ao aosf ==> sf = 98304274, rate = 48000, ch = 2, bits = 16, siged = 1, float = 0, endian = 0
<D>ao ao ref: openref =1, startref =1, fun = __ao_start
<D>media media(1) evt:2
samplerate 16000, 48000
<I>player first frame output
kws info 7035 0 0
kws get 0x20b9540 19200 bytes data
<D>stream read ret = 0, may be read eof, len = 349. 'file:///lfs/net_cfg_config.mp3'
<D>stream read ret = 0, may be read eof, len = 0. 'file:///lfs/net_cfg_config.mp3'
<I>demux read packet may be eof. eof = 1, rc = 0, url = file:///lfs/net_cfg_config.mp3
<D>player cb run task quit
<D>media media(1) evt:3
<I>player player_stop, 663 enter. player = 0x2678860
<D>ao ao ref: openref =1, startref =1, fun = __ao_drain
<D>ao ao ref: openref =1, startref =0, fun = __ao_stop
<D>ao ao ref: openref =0, startref =0, fun = __ao_close
<I>stream stream stat: to_4000ms = 0, to_2000ms = 0, to_1000ms = 0, to_500ms = 0, to_200ms = 0, to_100ms = 0, to_50ms = 0, to_20ms = 0, to_other = 159, cache_full = 0, upto_cnt = 0, rsize = 0, size = 8541, url = file:///lfs/net_cfg_config.mp3
<I>player player_stop, 674 leave. player = 0x2678860
<I>player player_free, 688 enter. player = 0x2678860
<I>player player_free, 699 leave. player = 0x2678860
<D>app audio player exit 2
kws schedule timeout :10000 ms. so change to init mode:ScheduleMainAndCommand
kws_handle_ins of vad_kws_wrapper is null.
kws is 宝拉宝拉 631
wake 3, kwid=1
<D>app MIC_EVENT_SESSION_START,type= 1, cnt=3
<E>app mic_evt net connect failed
pcm_en=0
stop state warning(kStateIdle)
<D>smart_audio Enter smtaudio_start: current state
<D>media state:1 type:1
<D>media set vol:30 type:1
<I>sc5654 i2s o1 pdev=0x2522a94
<D>media play1 vol:30 url:file:///lfs/net_cfg_config.mp3
<I>player player_new, 160 enter.
<I>player player_new, 201 leave. player = 0x2678860
<I>player player_play, 541 enter. player = 0x2678860
<I>player player_play, 561 leave. player = 0x2678860
<D>demux id3v2 size = 45
<D>demux_mp3 mp3 probe, sync_cnt = 0, rc = 0, score = 100
<I>demux find a demux, name = mp3, url = file:///lfs/net_cfg_config.mp3
<D>avparser find a parser, name = mp3, id = 1
<I>ad find a decode, name = pvmp3dec, id = 1
<D>filter_atempo open a avfilter, name = atempo
<D>filter_atempo2 open a avfilter, name = atempo2
res_order1_proc
<D>filter_swr open a avfilter, name = swr
<D>ao_alsaao open
<D>ao ao ref: openref =1, startref =0, fun = __ao_open
<D>ao ori sf ==> sf = 32768146, rate = 16000, ch = 1, bits = 16, siged = 1, float = 0, endian = 0
<D>ao aosf ==> sf = 98304274, rate = 48000, ch = 2, bits = 16, siged = 1, float = 0, endian = 0
<D>aokws info 631 0 0
kws get 0x20b9540 22080 bytes data
ao ref: openref =1, startref =1, fun = __ao_start
<D>media media(1) evt:2
samplerate 16000, 48000
<I>player first frame output
<D>stream read ret = 0, may be read eof, len = 349. 'file:///lfs/net_cfg_config.mp3'
<D>stream read ret = 0, may be read eof, len = 0. 'file:///lfs/net_cfg_config.mp3'
<I>demux read packet may be eof. eof = 1, rc = 0, url = file:///lfs/net_cfg_config.mp3
<D>player cb run task quit
<D>media media(1) evt:3
<I>player player_stop, 663 enter. player = 0x2678860
<D>ao ao ref: openref =1, startref =1, fun = __ao_drain
<D>ao ao ref: openref =1, startref =0, fun = __ao_stop
<D>ao ao ref: openref =0, startref =0, fun = __ao_close
<I>stream stream stat: to_4000ms = 0, to_2000ms = 0, to_1000ms = 0, to_500ms = 0, to_200ms = 0, to_100ms = 0, to_50ms = 0, to_20ms = 0, to_other = 159, cache_full = 0, upto_cnt = 0, rsize = 0, size = 8541, url = file:///lfs/net_cfg_config.mp3
<I>player player_stop, 674 leave. player = 0x2678860
<I>player player_free, 688 enter. player = 0x2678860
<I>player player_free, 699 leave. player = 0x2678860
<D>app audio player exit 2
kws schedule timeout :10000 ms. so change to init mode:ScheduleMainAndCommand </code></pre>
<p> </p>
<p>如果无法解决 建议提交一个工单:https://occ.t-head.cn/people/workorder-submit</p>
页:
[1]