examples/clapping_music.rb in alda-rb-0.2.1 vs examples/clapping_music.rb in alda-rb-0.3.0
- old
+ new
@@ -16,9 +16,9 @@
define_method(:clap) { +d }; define_method(:rest) { r }
define_method(:play) { pattern.each { __send__ _1 } }
end
tempo! 172
- midi_percussion_ o2 set_note_length 8
+ midi_percussion_; o2 set_note_length 8
v1; s{ play }*12*13
v2; 13.times { s{ play; pattern.rotate! }*12 }
end.play