Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

Commit 43a6edd

Browse files
committed
timecat tactus fix
1 parent b2a957b commit 43a6edd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tidal-core/src/Sound/Tidal/Core.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ fastcat = fastCat
402402
-- > , (1, s "superpiano" # n 0)
403403
-- > ]
404404
timeCat :: [(Time, Pattern a)] -> Pattern a
405-
timeCat [(_, p)] = p
405+
timeCat [(t, p)] = setSteps (Just t) p
406406
timeCat tps = setSteps (Just total) $ stack $ map (\(s, e, p) -> compressArc (Arc (s / total) (e / total)) p) $ arrange 0 $ filter (\(t, _) -> t > 0) $ tps
407407
where
408408
total = sum $ map fst tps

0 commit comments

Comments
 (0)