如何用python写一首歌?

又是普普统统的一天,没什么好写的。只好分享一下遇到的好的代码。
用python写歌,固然其实就是简单的纯音乐。
主要是要用到python中的wava,math,struct这三个库。
代码储存在个人GitHub库中。
https://github.com/datehoer/d...html

主要仍是要靠其中的数组来进行运算。python

n=["4","5","3","6","2","5","1","1",


"3","4","5","3","6","2","5","1",


"5","6","5","4","5","3","6-","2","1","4","5","3",


"6","6-","2","2","5","6-","1","0"]

如何用python写一首歌git

相关文章
相关标签/搜索