Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Beat-oriented functionality #976

Merged
merged 24 commits into from
Mar 16, 2024
Merged

Beat-oriented functionality #976

merged 24 commits into from
Mar 16, 2024

Conversation

yaxu
Copy link
Member

@yaxu yaxu commented Mar 4, 2024

This PR allows timeCat("a b", "c d e") to mean the same as "a b c d e", and polymeter("a b", "c d e") the same as "{a b, c d e}" via the weight property of patterns.

There is also a new __pure property, so that 'pure' patterns can be treated as values by some functions.

Plus a new experimental beatCat function, which is similar to timeCat, but if an argument is a list, the sequence will repeat once for each element in the list.

@yaxu yaxu marked this pull request as draft March 5, 2024 10:13
@yaxu yaxu marked this pull request as ready for review March 5, 2024 17:04
@yaxu
Copy link
Member Author

yaxu commented Mar 14, 2024

This is towards #987

@yaxu yaxu changed the title Allow timeCat to infer length/weight of a pattern from (untransformed) mininotation Beat-oriented functionality Mar 15, 2024
@yaxu yaxu merged commit 3985338 into main Mar 16, 2024
2 checks passed
@yaxu yaxu deleted the guessing-timecat branch March 16, 2024 17:24
@yaxu yaxu restored the guessing-timecat branch March 16, 2024 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant