lib/scissor/echonest.rb in scissor-echonest-0.0.7 vs lib/scissor/echonest.rb in scissor-echonest-0.0.8
- old
+ new
@@ -23,10 +23,10 @@
beats = self.class.echonest.get_beats(tmpfile)
if beats.size != 0
chunk = self[0, beats.first.start]
- beat = Beat.new(beats.first.start, 1.0)
+ beat = Beat.new(0.0, beats.first.start, 1.0)
chunk.set_delegate(beat)
chunks << chunk
end
beats.inject do |m, beat|