zgomot:用于创作基于 MIDI 的计算音乐的 DSL-源码

上传者: 42131013 | 上传时间: 2021-06-20 21:03:23 | 文件大小: 77KB | 文件类型: ZIP
zgomot zgomot 是一种用于创作 MIDI 音乐的 DSL。 它不进行合成,因此要创建声音,它需要数字音频软件,例如 Apple 的 GarageBand、Logic 或 Ableton Live。 播放简单曲调的程序只需要几行代码。 # mytune.rb require 'rubygems' require 'zgomot' # define a tune pattern with 5 notes and a rest tune = [ n ([ :C , 5 ]), n ( :B ), n ( :R ), n ( :G ), n ( :C , :l => 2 ), n ([ :E , 5 ], :l => 2 )] # define a MIDI stream writing to channel 0 which plays the pattern 3 times s

文件下载

资源详情

[{"title":"( 79 个子文件 77KB ) zgomot:用于创作基于 MIDI 的计算音乐的 DSL-源码","children":[{"title":"zgomot-master","children":[{"title":".gitignore <span style='color:#111;'> 94B </span>","children":null,"spread":false},{"title":"zgomot.gemspec <span style='color:#111;'> 3.96KB </span>","children":null,"spread":false},{"title":".document <span style='color:#111;'> 60B </span>","children":null,"spread":false},{"title":"zgomot.gems <span style='color:#111;'> 346B </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"zgomot <span style='color:#111;'> 71B </span>","children":null,"spread":false}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"examples","children":[{"title":"prog_notes.rb <span style='color:#111;'> 226B </span>","children":null,"spread":false},{"title":"scales_notes.rb <span style='color:#111;'> 425B </span>","children":null,"spread":false},{"title":"simple_chords.rb <span style='color:#111;'> 242B </span>","children":null,"spread":false},{"title":"prog_notes_rest.rb <span style='color:#111;'> 227B </span>","children":null,"spread":false},{"title":"simple_note_list.rb <span style='color:#111;'> 198B </span>","children":null,"spread":false},{"title":"inv_chords.rb <span style='color:#111;'> 221B </span>","children":null,"spread":false},{"title":"percs.rb <span style='color:#111;'> 446B </span>","children":null,"spread":false},{"title":"geco_input.rb <span style='color:#111;'> 362B </span>","children":null,"spread":false},{"title":"notes.rb <span style='color:#111;'> 262B </span>","children":null,"spread":false},{"title":"scale_notes.rb <span style='color:#111;'> 259B </span>","children":null,"spread":false},{"title":"delay.rb <span style='color:#111;'> 338B </span>","children":null,"spread":false},{"title":"percs_multi.rb <span style='color:#111;'> 296B </span>","children":null,"spread":false},{"title":"simple_markov.rb <span style='color:#111;'> 297B </span>","children":null,"spread":false},{"title":"prog_chords.rb <span style='color:#111;'> 217B </span>","children":null,"spread":false},{"title":"cycle_note_list.rb <span style='color:#111;'> 271B </span>","children":null,"spread":false},{"title":"arp_chords.rb <span style='color:#111;'> 225B </span>","children":null,"spread":false},{"title":"modes_notes.rb <span style='color:#111;'> 318B </span>","children":null,"spread":false},{"title":"simple_input.rb <span style='color:#111;'> 607B </span>","children":null,"spread":false},{"title":"route_chords.rb <span style='color:#111;'> 372B </span>","children":null,"spread":false},{"title":"phase_notes.rb <span style='color:#111;'> 372B </span>","children":null,"spread":false},{"title":"simple_notes.rb <span style='color:#111;'> 219B </span>","children":null,"spread":false},{"title":"prog_chords_rest.rb <span style='color:#111;'> 218B </span>","children":null,"spread":false},{"title":"progressive_modes.rb <span style='color:#111;'> 877B </span>","children":null,"spread":false},{"title":"zgomot_streams.rb <span style='color:#111;'> 588B </span>","children":null,"spread":false},{"title":"dynamic_length.rb <span style='color:#111;'> 395B </span>","children":null,"spread":false},{"title":"dynamic_length_perc.rb <span style='color:#111;'> 526B </span>","children":null,"spread":false},{"title":"reverse_chords.rb <span style='color:#111;'> 276B </span>","children":null,"spread":false},{"title":"zgomot.yml <span style='color:#111;'> 59B </span>","children":null,"spread":false},{"title":"cycle.rb <span style='color:#111;'> 240B </span>","children":null,"spread":false},{"title":"prog_chords_multi_vel_length.rb <span style='color:#111;'> 269B </span>","children":null,"spread":false},{"title":"full_scale_notes.rb <span style='color:#111;'> 220B </span>","children":null,"spread":false},{"title":"prog_notes_multi_vel_length.rb <span style='color:#111;'> 269B </span>","children":null,"spread":false},{"title":"scale_chords.rb <span style='color:#111;'> 209B </span>","children":null,"spread":false}],"spread":false},{"title":"VERSION <span style='color:#111;'> 5B </span>","children":null,"spread":false},{"title":"README.rdoc <span style='color:#111;'> 23.01KB </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"zgomot","children":[{"title":"comp.rb <span style='color:#111;'> 298B </span>","children":null,"spread":false},{"title":"patches","children":[{"title":"time.rb <span style='color:#111;'> 315B </span>","children":null,"spread":false},{"title":"string.rb <span style='color:#111;'> 144B </span>","children":null,"spread":false},{"title":"object.rb <span style='color:#111;'> 374B </span>","children":null,"spread":false}],"spread":true},{"title":"boot.rb <span style='color:#111;'> 881B </span>","children":null,"spread":false},{"title":"midi","children":[{"title":"cc.rb <span style='color:#111;'> 2.47KB </span>","children":null,"spread":false},{"title":"clock.rb <span style='color:#111;'> 3.55KB </span>","children":null,"spread":false},{"title":"stream.rb <span style='color:#111;'> 3.57KB </span>","children":null,"spread":false},{"title":"note.rb <span style='color:#111;'> 2.16KB </span>","children":null,"spread":false},{"title":"channel.rb <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"dispatcher.rb <span style='color:#111;'> 1.78KB </span>","children":null,"spread":false}],"spread":false},{"title":"drivers","children":[{"title":"mgr.rb <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"driver.rb <span style='color:#111;'> 1.63KB </span>","children":null,"spread":false},{"title":"core_midi.rb <span style='color:#111;'> 7.29KB </span>","children":null,"spread":false}],"spread":false},{"title":"ui","children":[{"title":"output.rb <span style='color:#111;'> 2.79KB </span>","children":null,"spread":false},{"title":"windows.rb <span style='color:#111;'> 14.19KB </span>","children":null,"spread":false}],"spread":false},{"title":"ui.rb <span style='color:#111;'> 56B </span>","children":null,"spread":false},{"title":"patches.rb <span style='color:#111;'> 94B </span>","children":null,"spread":false},{"title":"drivers.rb <span style='color:#111;'> 61B </span>","children":null,"spread":false},{"title":"config.rb <span style='color:#111;'> 860B </span>","children":null,"spread":false},{"title":"comp","children":[{"title":"progression.rb <span style='color:#111;'> 3.41KB </span>","children":null,"spread":false},{"title":"note_list.rb <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"pattern.rb <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false},{"title":"permutation.rb <span style='color:#111;'> 77B </span>","children":null,"spread":false},{"title":"mode.rb <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"pitch_class.rb <span style='color:#111;'> 897B </span>","children":null,"spread":false},{"title":"scale.rb <span style='color:#111;'> 381B </span>","children":null,"spread":false},{"title":"markov.rb <span style='color:#111;'> 863B </span>","children":null,"spread":false},{"title":"perc.rb <span style='color:#111;'> 2.39KB </span>","children":null,"spread":false},{"title":"chord.rb <span style='color:#111;'> 3.53KB </span>","children":null,"spread":false},{"title":"note.rb <span style='color:#111;'> 454B </span>","children":null,"spread":false}],"spread":false},{"title":"main.rb <span style='color:#111;'> 2.67KB </span>","children":null,"spread":false},{"title":"midi.rb <span style='color:#111;'> 172B </span>","children":null,"spread":false}],"spread":false},{"title":"zgomot.rb <span style='color:#111;'> 392B </span>","children":null,"spread":false},{"title":"zgomot_sh.rb <span style='color:#111;'> 167B </span>","children":null,"spread":false}],"spread":true},{"title":".rvmrc <span style='color:#111;'> 26B </span>","children":null,"spread":false},{"title":"Rakefile <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"zgomot-logo.png <span style='color:#111;'> 28.53KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

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