Skip to content

Commit

Permalink
stepcat
Browse files Browse the repository at this point in the history
  • Loading branch information
yaxu committed Apr 9, 2024
1 parent 5c28e1a commit 037fbb0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Sound/Tidal/Core.hs
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,11 @@ pattern to multiple patterns at once:
stack :: [Pattern a] -> Pattern a
stack = foldr overlay silence

-- ** stepwise things

stepcat :: [Pattern a] -> Pattern a
stepcat pats = timecat $ map (\pat -> (fromMaybe 1 $ tactus pat, pat)) pats

-- ** Manipulating time

-- | Shifts a pattern back in time by the given amount, expressed in cycles
Expand Down

0 comments on commit 037fbb0

Please sign in to comment.