Skip to content

Commit

Permalink
fix sew to not take structure from the binary pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
yaxu committed Nov 13, 2018
1 parent 5994d50 commit 6613fed
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Sound/Tidal/Control.hs
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,6 @@ _stut' :: (Num n, Ord n) => n -> Time -> (Pattern a -> Pattern a) -> Pattern a -
_stut' count steptime f p | count <= 0 = p
| otherwise = overlay (f (steptime `rotR` _stut' (count-1) steptime f p)) p


cI :: String -> Pattern Int
cI s = Pattern Analog $ \(State a m) -> maybe [] (f a) $ Map.lookup s m
where f a (VI v) = [((a,a),v)]
Expand Down

0 comments on commit 6613fed

Please sign in to comment.