Skip to content

Commit

Permalink
pm alias for polymeter
Browse files Browse the repository at this point in the history
  • Loading branch information
yaxu committed Mar 2, 2025
1 parent 32a814d commit 5c3f2b3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tidal-core/src/Sound/Tidal/Stepwise.hs
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,9 @@ polymeter pats = stack $ map (pace targetSteps) pats'
targetSteps = _lcmsteps pats'
pats' = filter hasSteps pats

pm :: [Pattern a] -> Pattern a
pm = polymeter

{-
s_while :: Pattern Bool -> (Pattern a -> Pattern a) -> Pattern a -> Pattern a
s_while patb f pat@(Pattern _ (Just t) _) = while (_steps t patb) f pat
Expand Down

0 comments on commit 5c3f2b3

Please sign in to comment.