Permalink
Browse files

fix pattern accents on end of gestures

  • Loading branch information...
adamflorin committed Nov 10, 2011
1 parent 10d876d commit bb5bcdb2286b147f69289f89437a48b62fb88de5
Showing with 1 addition and 1 deletion.
  1. +1 −1 ruby/loom/player/pattern.rb
@@ -36,7 +36,7 @@ def generate_with_pattern
event = nil
rate = generate_rate
num_steps = @player.steps.generate.to_i.constrain(1..16)
- accent_on = (@player.accent_on.generate * num_steps).to_i
+ accent_on = (@player.accent_on.generate * (num_steps-1)).to_i
# iterator to make events (# steps)
num_steps.times do |i|

0 comments on commit bb5bcdb

Please sign in to comment.