基于linux的电子钢琴

上传者: 43995458 | 上传时间: 2020-12-19 10:34:19 | 文件大小: 377KB | 文件类型: ZIP
该项目基于arm开发板。 运用了linux的多线程,多进程, arm的LCD屏幕的图片显示和触摸屏控制功能,使用了
madplay进行音频播放。

该系统运行时会生成一条进程读取触摸屏的x,y和压力值数据,存储到共享内存里面。
进入系统时会显示一个主界面,通过读取共享内存的x,y数据检测到用户点击了钢琴图标后进入钢琴界面,点击钢琴
琴键时,会播放该琴键对应的琴音,由于开发板限制无法一次播放多个音频文件,所以在点击下一个琴键时,会使用
命令终止其他音频文件的播放。该程序还可以通过点击钢琴界面的按钮调整钢琴声音的大小。并支持滑动弹奏。

文件下载

资源详情

[{"title":"( 25 个子文件 377KB ) 基于linux的电子钢琴","children":[{"title":"新建文件夹","children":[{"title":"voice","children":[{"title":"4.mp3 <span style='color:#111;'> 24.49KB </span>","children":null,"spread":false},{"title":"7.mp3 <span style='color:#111;'> 26.12KB </span>","children":null,"spread":false},{"title":"3.mp3 <span style='color:#111;'> 24.49KB </span>","children":null,"spread":false},{"title":"12.mp3 <span style='color:#111;'> 22.45KB </span>","children":null,"spread":false},{"title":"6.mp3 <span style='color:#111;'> 23.26KB </span>","children":null,"spread":false},{"title":"1.mp3 <span style='color:#111;'> 24.49KB </span>","children":null,"spread":false},{"title":"5.mp3 <span style='color:#111;'> 24.08KB </span>","children":null,"spread":false},{"title":"2.mp3 <span style='color:#111;'> 22.45KB </span>","children":null,"spread":false},{"title":"11.mp3 <span style='color:#111;'> 22.86KB </span>","children":null,"spread":false},{"title":"8.mp3 <span style='color:#111;'> 23.26KB </span>","children":null,"spread":false},{"title":"10.mp3 <span style='color:#111;'> 22.45KB </span>","children":null,"spread":false},{"title":"9.mp3 <span style='color:#111;'> 23.67KB </span>","children":null,"spread":false}],"spread":false},{"title":"piano.c <span style='color:#111;'> 14.01KB </span>","children":null,"spread":false},{"title":"piano_app.bmp <span style='color:#111;'> 18.80KB </span>","children":null,"spread":false},{"title":"key_bmp","children":[{"title":"k5.bmp <span style='color:#111;'> 56.12KB </span>","children":null,"spread":false},{"title":"k4.bmp <span style='color:#111;'> 57.40KB </span>","children":null,"spread":false},{"title":"k6.bmp <span style='color:#111;'> 55.84KB </span>","children":null,"spread":false},{"title":"k3.bmp <span style='color:#111;'> 57.40KB </span>","children":null,"spread":false},{"title":"k2.bmp <span style='color:#111;'> 56.73KB </span>","children":null,"spread":false}],"spread":true},{"title":"key_on","children":[{"title":"on3.bmp <span style='color:#111;'> 55.24KB </span>","children":null,"spread":false},{"title":"on1.bmp <span style='color:#111;'> 56.93KB </span>","children":null,"spread":false},{"title":"on5.bmp <span style='color:#111;'> 55.44KB </span>","children":null,"spread":false},{"title":"on2.bmp <span style='color:#111;'> 54.74KB </span>","children":null,"spread":false},{"title":"on4.bmp <span style='color:#111;'> 55.91KB </span>","children":null,"spread":false}],"spread":true},{"title":"background.bmp <span style='color:#111;'> 1.10MB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明