breaking: refactor controls

- multiple args wont be interpreted as sequence anymore
- you can now pass value, pat to set value to pat
This commit is contained in:
Felix Roos 2025-03-16 10:48:38 +01:00
parent e782dc09dd
commit 11196fb1e6
No known key found for this signature in database
6 changed files with 40 additions and 38 deletions

View file

@ -1001,7 +1001,7 @@ describe('Pattern', () => {
});
describe('hurry', () => {
it('Can speed up patterns and sounds', () => {
sameFirst(s('a', 'b').hurry(2), s('a', 'b').fast(2).speed(2));
sameFirst(s(sequence('a', 'b')).hurry(2), s(sequence('a', 'b')).fast(2).speed(2));
});
});
/*describe('composable functions', () => {