又是普普通通的一天,没什么好写的。只好分享一下遇到的好的代码。


用python写歌,当然其实就是简单的纯音乐。


主要是要用到python中的wava,math,struct这三个库。


代码储存在我的GitHub库中。
https://github.com/datehoer/dayday/tree/main/xg
主要还是要靠其中的数组来进行运算。

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写一首歌

本文作者:博主:     文章标题:如何用python写一首歌?
本文地址:https://zjzdmc.top/jsfx/133.html     
版权说明:若无注明,本文皆为“Datehoer的Blog-个人博客-技术分享”原创,转载请保留文章出处。
最后修改:2021 年 04 月 19 日 02 : 42 PM
如果觉得我的文章对你有用,请随意赞赏