examples/missed_connection.rb in music-transcription-0.17.1 vs examples/missed_connection.rb in music-transcription-0.19.0
- old
+ new
@@ -8,12 +8,12 @@
include Parsing
score = Score.new(FOUR_FOUR, 120) do |s|
s.program = Program.new([0...2,0...6])
s.parts["bass"] = Part.new(Dynamics::MF) do |p|
- p.notes = notes("/4Eb2 /4 /4Bb2 /4 /4Eb2 /8 /8B2 /4Bb2 /4Ab2")
- p.notes += notes("/4Bb2 /8 /8F3= /2F3 /4Bb2 /8 /8F3= /2F3")
- p.notes += notes("/4B2 /8 /8Gb3= /2Gb3 /8 /8Gb3= /2Gb3")
+ p.notes = "/4Eb2 /4 /4Bb2 /4 /4Eb2 /8 /8B2 /4Bb2 /4Ab2".to_notes
+ p.notes += "/4Bb2 /8 /8F3= /2F3 /4Bb2 /8 /8F3= /2F3".to_notes
+ p.notes += "/4B2 /8 /8Gb3= /2Gb3 /8 /8Gb3= /2Gb3".to_notes
end
end
name = File.basename(__FILE__,".rb")