冬天的木鱼 发表于 2022-6-8 01:08

基于平头哥RVB2601的webplayer音频播放器移植

<ul>
        <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;,serif"><span class="Heading2Char" style="font-family:Arial,sans-serif"><span style="font-weight:bold"><span style="font-size:16.0pt"><span style="font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;">项目背景(100-200字)</span></span></span></span></span></span></li>
</ul>

<p style="text-indent:21.0pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;,serif"><span style="font-size:12.0pt"><span style="font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;">随着老龄化社会到来,以低成本的硬件满足老人的视听精神需求是一个实际的问题。本项目希望能够通过平头哥RVB2601开发板,实现简单的歌曲搜索功能,进而完成音频播放功能。</span></span></span></span></p>

<p style="text-align:justify">&nbsp;</p>

<ul>
        <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;,serif"><span class="Heading2Char" style="font-family:Arial,sans-serif"><span style="font-weight:bold"><span style="font-size:16.0pt"><span style="font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;">作品简介(100-200字)+作品照片</span></span></span></span></span></span></li>
</ul>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;,serif">&nbsp; <span style="font-size:12.0pt"><span style="font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;">本次使用的RVB2601开发板基于平头哥CH2601设计,板载JTAG调试器、WiFi芯片W800和用户按键。通过将wifi信息烧录至系统中,保证了系统能够启动后在初始化阶段访问网络;通过串口指令实现对在线音频的访问,保证了在线音频播放的流畅性。</span></span></span></span></p>

<p style="margin-left:56px; text-indent:21.0pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;,serif">&nbsp;</span></span></p>

<p align="center" style="text-align:center">&nbsp;</p>

<ul>
        <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;,serif"><span class="Heading2Char" style="font-family:Arial,sans-serif"><span style="font-weight:bold"><span style="font-size:16.0pt"><span style="font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;">系统框图(图文结合)</span></span></span></span></span></span></li>
        <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;,serif"><span class="Heading2Char" style="font-family:Arial,sans-serif"><span style="font-weight:bold"><span style="font-size:16.0pt"><span style="font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;">各部分功能说明和解析(图文结合)</span></span></span></span></span></span></li>
</ul>

<ol>
        <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;,serif"><span style="font-size:12.0pt"><span style="font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;">移植webplayer应用</span></span></span></span></li>
</ol>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;,serif"><span style="font-size:12.0pt"><span style="font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;">对比player和webplayer示例应用,参考网络中其他用户的示例,选择使用webplayer作为基本的demo,进行修改完善。</span></span></span></span></p>

<ol start="2">
        <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;,serif"><span style="font-size:12.0pt"><span style="font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;">联网设置</span></span></span></span></li>
</ol>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;,serif">&nbsp; <span style="font-size:12.0pt"><span style="font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;">将src文件夹下init.c文件中的network_init()函数仅修改,完成对无线wifi的配置。马赛克处分别是wifi网络名称和密码。</span></span></span></span></p>

<p style="text-align:justify"></p>

<ol start="3">
        <li style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;,serif"><span style="font-size:12.0pt"><span style="font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;">音频播放</span></span></span></span></li>
</ol>

<p style="text-indent:21.0pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;,serif"><span style="font-size:12.0pt"><span style="font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;">用串口指令如下:</span></span></span></span></p>

<p style="text-indent:21.0pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;,serif"><span lang="EN-US" style="font-size:12.0pt"><span style="font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;">#player play http://sp.9sky.com/convert/song/music/475/20161027101822390.mp3</span></span></span></span></p>

<p style="text-indent:21.0pt; text-align:justify">&nbsp;</p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;,serif"><span class="Heading2Char" style="font-family:Arial,sans-serif"><span style="font-weight:bold"><span style="font-size:16.0pt"><span style="font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;">五、作品源码</span></span></span></span></span></span></p>

<p style="text-align:justify"></p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;,serif"><b><span style="font-size:16.0pt"><span style="font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;">六、视频<span class="Heading2Char" style="font-family:Arial,sans-serif"><span style="font-weight:bold"><span style="font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;">演示(视频简介+链接)</span></span></span></span></span></b></span></span></p>

<p style="text-align:justify">9700a745ed22b9d879c5de42e55778aa<br />
&nbsp;</p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;,serif"><b><span style="font-size:16.0pt"><span style="font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;">七、项目总结(项目文字总结+帖子分享链接汇总)</span></span></b></span></span></p>

<p style="text-indent:21.0pt; text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;,serif"><span style="font-size:12.0pt"><span style="font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;">非常感谢电子工程世界和平头哥举办的活动,本次活动体验了平头哥的开发生态,aos是十分优秀的RTOS,CDK虽然用时仍有改进空间,但从完成物联网相关的基本交互功能角度来说,AliOS Things是一个非常优秀的平台,满足用户在实时性、交互效果等多方面需求。原本想做一个能够通过语音指令,实现语音点歌和在线播放的功能,后来由于时间等多方面因素影响,没有完成预期功能,后续将尝试实现语音点歌和在线播放功能。</span></span></span></span></p>

<p style="text-align:justify">&nbsp;</p>

<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:&quot;Times New Roman&quot;,serif"><b><span style="font-size:16.0pt"><span style="font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;">八、其他</span></span></b></span></span></p>

<p><span style="font-size:12.0pt"><span style="font-family:&quot;微软雅黑&quot;,&quot;sans-serif&quot;">建议:1)使用type C的接口,通用性更强。</span></span></p>

littleshrimp 发表于 2022-6-8 09:27

<p>屏幕浪费了 可以显示类似歌曲名称</p>

freebsder 发表于 2022-6-8 16:29

<p>我可不想当这样的&ldquo;老人&rdquo; ipad,andrioid 还是要用起来<img height="48" src="https://bbs.eeworld.com.cn/static/editor/plugins/hkemoji/sticker/facebook/lol.gif" width="48" /></p>
页: [1]
查看完整版本: 基于平头哥RVB2601的webplayer音频播放器移植