SonataInPython:使用神经网络算法生成的音乐文献-源码

上传者: 42134117 | 上传时间: 2021-07-20 11:09:17 | 文件大小: 580KB | 文件类型: ZIP
奏鸣曲 使用神经网络算法生成的音乐文献 灵感 莫扎特可能会用C语言写奏鸣曲,但我的C语言并不如意。 因此,我用Python编写了我的代码。 我一直都在构建webapp,而我刚刚完成了ML课程,所以我想尝试一下。 另外,现在我们可以看看艺术是否可以科学生成? 它能做什么 Python中的奏鸣曲可读取一系列MIDI文件,其中大多数是莫扎特或贝多芬创作的钢琴奏鸣曲。 这充当了神经网络的训练集。 网络的输入节点采用前5个音符的时长和频率以及当前音符,前3个和弦进行音色以及其他谱号上的相应音符。 输出节点产生序列中下一个音符的持续时间和频率,将其反馈为后续音符的输入。 我是如何建造的 高音谱号(右手)有一个神经网络,低音谱号(左手)有一个神经网络。 这是因为较高的右手音符通常会演奏独特的旋律,而较低的左手音符通常会重复而较慢的和弦。 我想确保这两种截然不同的音乐风格不会混淆神经网络。 我遇到的挑战

文件下载

资源详情

[{"title":"( 66 个子文件 580KB ) SonataInPython:使用神经网络算法生成的音乐文献-源码","children":[{"title":"SonataInPython-master","children":[{"title":"SonataNeuralNetwork.py <span style='color:#111;'> 6.83KB </span>","children":null,"spread":false},{"title":"results","children":[{"title":"7.mid <span style='color:#111;'> 3.54KB </span>","children":null,"spread":false},{"title":"5.mid <span style='color:#111;'> 17.74KB </span>","children":null,"spread":false},{"title":"4.mid <span style='color:#111;'> 2.01KB </span>","children":null,"spread":false},{"title":"6.mid <span style='color:#111;'> 4.15KB </span>","children":null,"spread":false},{"title":"3.mid <span style='color:#111;'> 2.14KB </span>","children":null,"spread":false},{"title":"8.mid <span style='color:#111;'> 3.67KB </span>","children":null,"spread":false},{"title":"1.mid <span style='color:#111;'> 2.09KB </span>","children":null,"spread":false},{"title":"10.mid <span style='color:#111;'> 4.93KB </span>","children":null,"spread":false},{"title":"README <span style='color:#111;'> 132B </span>","children":null,"spread":false},{"title":"9.mid <span style='color:#111;'> 4.81KB </span>","children":null,"spread":false},{"title":"2.mid <span style='color:#111;'> 550B </span>","children":null,"spread":false}],"spread":false},{"title":"MIDIReader.pyc <span style='color:#111;'> 2.30KB </span>","children":null,"spread":false},{"title":"tmidi","children":[{"title":"mond_1.mid <span style='color:#111;'> 15.00KB </span>","children":null,"spread":false},{"title":"beethoven_opus10_1.mid <span style='color:#111;'> 34.54KB </span>","children":null,"spread":false},{"title":"piano_sonata_13_1_(c)oguri.mid <span style='color:#111;'> 33.28KB </span>","children":null,"spread":false},{"title":"pathet3.mid <span style='color:#111;'> 16.67KB </span>","children":null,"spread":false},{"title":"furelise.mid <span style='color:#111;'> 7.99KB </span>","children":null,"spread":false}],"spread":true},{"title":"abc","children":[{"title":"furelise.abc <span style='color:#111;'> 3.15KB </span>","children":null,"spread":false},{"title":"121.abc <span style='color:#111;'> 5.91KB </span>","children":null,"spread":false},{"title":"beemoo1.abc <span style='color:#111;'> 5.61KB </span>","children":null,"spread":false}],"spread":true},{"title":"midi","children":[{"title":"sonate_27_(c)hisamori.mid <span style='color:#111;'> 64.14KB </span>","children":null,"spread":false},{"title":"beethoven_opus10_1.mid <span style='color:#111;'> 34.54KB </span>","children":null,"spread":false},{"title":"beethoven_hammerklavier_1.mid <span style='color:#111;'> 72.49KB </span>","children":null,"spread":false},{"title":"beethoven_opus22_1.mid <span style='color:#111;'> 50.96KB </span>","children":null,"spread":false},{"title":"sonate_23_(c)hisamori.mid <span style='color:#111;'> 135.49KB </span>","children":null,"spread":false},{"title":"waldstein_1.mid <span style='color:#111;'> 79.15KB </span>","children":null,"spread":false},{"title":"pathetique_3.mid <span style='color:#111;'> 27.82KB </span>","children":null,"spread":false},{"title":"appass_1.mid <span style='color:#111;'> 71.29KB </span>","children":null,"spread":false},{"title":"appass_3.mid <span style='color:#111;'> 66.24KB </span>","children":null,"spread":false},{"title":"waldstein_3.mid <span style='color:#111;'> 74.93KB </span>","children":null,"spread":false}],"spread":true},{"title":"MIDIReader.py <span style='color:#111;'> 1.57KB </span>","children":null,"spread":false},{"title":"results.zip <span style='color:#111;'> 19.69KB </span>","children":null,"spread":false},{"title":"newmidi","children":[{"title":"mz_570_1.mid <span style='color:#111;'> 43.20KB </span>","children":null,"spread":false},{"title":"beethoven_opus10_1.mid <span style='color:#111;'> 34.54KB </span>","children":null,"spread":false},{"title":"beethoven_hammerklavier_1.mid <span style='color:#111;'> 72.49KB </span>","children":null,"spread":false},{"title":"mz_331_2.mid <span style='color:#111;'> 30.29KB </span>","children":null,"spread":false},{"title":"mz_332_1.mid <span style='color:#111;'> 50.46KB </span>","children":null,"spread":false},{"title":"mz_333_1.mid <span style='color:#111;'> 52.80KB </span>","children":null,"spread":false},{"title":"mz_332_3.mid <span style='color:#111;'> 56.79KB </span>","children":null,"spread":false},{"title":"pathetique_3.mid <span style='color:#111;'> 27.82KB </span>","children":null,"spread":false},{"title":"mz_330_1.mid <span style='color:#111;'> 40.95KB </span>","children":null,"spread":false},{"title":"mz_545_1.mid <span style='color:#111;'> 30.43KB </span>","children":null,"spread":false},{"title":"mz_331_3.mid <span style='color:#111;'> 25.82KB </span>","children":null,"spread":false},{"title":"mz_311_1.mid <span style='color:#111;'> 28.28KB </span>","children":null,"spread":false},{"title":"appass_1.mid <span style='color:#111;'> 71.29KB </span>","children":null,"spread":false},{"title":"appass_3.mid <span style='color:#111;'> 66.24KB </span>","children":null,"spread":false}],"spread":false},{"title":"README.md <span style='color:#111;'> 4.34KB </span>","children":null,"spread":false},{"title":"Driver.py <span style='color:#111;'> 2.30KB </span>","children":null,"spread":false},{"title":"SonataNeuralNetwork.pyc <span style='color:#111;'> 7.56KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 6B </span>","children":null,"spread":false},{"title":"temp","children":[{"title":"mond_1.mid <span style='color:#111;'> 15.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"slow","children":[{"title":"mond_1.mid <span style='color:#111;'> 15.00KB </span>","children":null,"spread":false},{"title":"beethoven_les_adieux_2.mid <span style='color:#111;'> 9.09KB </span>","children":null,"spread":false},{"title":"beethoven_les_adieux_1.mid <span style='color:#111;'> 32.24KB </span>","children":null,"spread":false},{"title":"mz_331_1.mid <span style='color:#111;'> 59.34KB </span>","children":null,"spread":false},{"title":"pathetique_2.mid <span style='color:#111;'> 15.06KB </span>","children":null,"spread":false},{"title":"mz_545_2.mid <span style='color:#111;'> 17.87KB </span>","children":null,"spread":false},{"title":"mz_332_2.mid <span style='color:#111;'> 14.92KB </span>","children":null,"spread":false},{"title":"mz_570_2.mid <span style='color:#111;'> 21.41KB </span>","children":null,"spread":false},{"title":"beethoven_opus10_2.mid <span style='color:#111;'> 16.50KB </span>","children":null,"spread":false},{"title":"appass_2.mid <span style='color:#111;'> 20.62KB </span>","children":null,"spread":false},{"title":"mz_333_2.mid <span style='color:#111;'> 26.04KB </span>","children":null,"spread":false},{"title":"mz_330_2.mid <span style='color:#111;'> 17.86KB </span>","children":null,"spread":false},{"title":"pathetique_1.mid <span style='color:#111;'> 52.76KB </span>","children":null,"spread":false},{"title":"waldstein_2.mid <span style='color:#111;'> 5.31KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

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