spec/spec_helper.rb in music-transcription-0.3.0 vs spec/spec_helper.rb in music-transcription-0.4.0

- old
+ new

@@ -3,21 +3,9 @@ include Music::Transcription class Samples SAMPLE_PART = Part.new( - :notes => [ - Note.new( - :duration => 0.25, - :intervals => [ - Interval.new( :pitch => C1 ), - Interval.new( :pitch => D1 ), - ] - ) - ], - :loudness_profile => profile( - 0.5, { - 1.0 => linear_change(1.0, 2.0) - } - ) + :notes => [ Note.new(0.25, [ C1, D1 ]) ], + :loudness_profile => Profile.new(0.5, 1.0 => linear_change(1.0, 2.0)) ) end \ No newline at end of file