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

add pickF and pickmodF #924

Merged
merged 3 commits into from Jan 19, 2024
Merged

add pickF and pickmodF #924

merged 3 commits into from Jan 19, 2024

Conversation

geikha
Copy link
Contributor

@geikha geikha commented Jan 19, 2024

Allows to pick functions via a pattern of numbers, to apply to another pattern.

Example:

note("<c2 d2>(3,8)").s("square")
    .pickF("<0 2> 1", [jux(rev),fast(2),x=>x.lpf(800)])

allows to pick functions via a pattern of numbers, to apply to another pattern
@geikha
Copy link
Contributor Author

geikha commented Jan 19, 2024

I don't understand what's failing here. The examples work perfectly when I run them on the REPL!

@felixroos
Copy link
Collaborator

felixroos commented Jan 19, 2024

yep that's normal, the examples are automatically tested with snapshot testing. snapshots for new examples need to be generated by running pnpm snapshot. then push the updated .snap file and everything should be fine

@felixroos felixroos merged commit 9928526 into tidalcycles:main Jan 19, 2024
1 check passed
@felixroos
Copy link
Collaborator

thank youuu

@felixroos felixroos mentioned this pull request Jan 19, 2024
71 tasks
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.

None yet

2 participants