Skip to content

CENHM/Python-Piano

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Python-Piano

用Python来演奏钢琴曲

利用多线程来实现多键同时触发的效果

(示例为锈湖:根源中的Family Tune)

· main.py : 在MusicList中编写乐谱,格式为(钢琴键值, 延迟时间); key文件夹需与main文件放在同一目录下

· keys : 钢琴88键

本人是一名初试Python的大一菜鸟,能力仍有待成长,若有不足之处望指教 T~T

· 代码参考: https://blog.csdn.net/cainiao_python/article/details/106030402 \ https://zhuanlan.zhihu.com/p/71235612

· WAV(MP4)文件来源: Sphalerite https://pan.baidu.com/share/init?surl=mEr_K_IwCU15mzg17uBcMw

About

Play piano with Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages