lib/music-transcription/note.rb in music-transcription-0.6.2 vs lib/music-transcription/note.rb in music-transcription-0.6.3
- old
+ new
@@ -97,9 +97,10 @@
self.clone.stretch! ratio
end
def stretch! ratio
@duration *= ratio
+ return self
end
def to_s
output = @duration.to_s
if @pitches.any?