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 muting with _ for p and d1-16 #1082

Open
wants to merge 8 commits into
base: dev
Choose a base branch
from
Open

add muting with _ for p and d1-16 #1082

wants to merge 8 commits into from

Conversation

geikha
Copy link
Contributor

@geikha geikha commented Apr 18, 2024

As said on the Discord:

An idea that could be interesting for performing:

_d1 _ = d1 silence
_d2 _ = d2 silence
-- ... etc
_p x = p x $ silence

what if we define underscore functions for each default stream (d1, d2, d3, etc)? this way one could easily silence or "mute" a pattern via adding an underscore and evaluating the same block of code instead of having to write d1 $ silence at the bottom and evaluating that

Wondering if this would have to be replicated on the pulsar default BootTidal files and such


Also see tidalcycles/strudel#1059

@yaxu
Copy link
Member

yaxu commented Apr 18, 2024

Thanks, I've just merged #1007 though which means these aliases will need moving to Sound.Tidal.Boot.

That PR will reduce the need to update editor default BootTidal.hs files in the future.

@geikha geikha reopened this Apr 18, 2024
@yaxu
Copy link
Member

yaxu commented Apr 18, 2024

Have you tested this? I'd have thought the functions would need adding to the export list at the top

@geikha
Copy link
Contributor Author

geikha commented Apr 18, 2024

aghh my bad,, I thought I tested this but I was using my own bootfile still 🤦‍♂️

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

3 participants