spec/spec_helper.rb in music-transcription-0.6.3 vs spec/spec_helper.rb in music-transcription-0.7.0

- old
+ new

@@ -4,9 +4,14 @@ include Music::Transcription include Music::Transcription::Pitches class Samples SAMPLE_PART = Part.new( - notes: [ Note::Quarter.new([ C1, D1 ]), Note::Quarter.new([ C2, D2 ]), Note::Whole.new([ C3, D3 ]) ], - dynamic_profile: Profile.new(Dynamics::P, {1.0 => Change::Immediate.new(Dynamics::MP)}) + Dynamics::P, + notes: [ + Note::Quarter.new([ C1, D1 ]), + Note::Quarter.new([ C2, D2 ]), + Note::Whole.new([ C3, D3 ]) + ], + dynamic_changes: {1.0 => Change::Immediate.new(Dynamics::MP)} ) end \ No newline at end of file