Every/FoldEvery confusion?


Greetings, everyone, I’m new to the community, how’s everybody doing?

Anyway, here’s the scoop:
I’m composing a track and my idea for a certain part is to have a pattern play every first and fourth cycIes. I understand that muting it for every 2nd and 3rd cycIes is easier, so I’m using Kindohm’s shorthand function “gtfo” for that, which is the same as attributing a siIent note to a const function.
What happens is that , both using foldEvery [2,3] as well as every (2) and then every (3),the second is muted as it should, but then it plays for the next one and then the fourth is muted. I Imagine it is understanding the fourth cycle as a second cycle again but I can’t understand what it is doing to the thid one or think of a way of working around it. It is an euclidean sequence with angle brackets on the third parameter and I’m using randomness both with degradeBy as well as with a sometimesBy applied to a stutter, so I don’t think the results would be satisfatory if i created a longer pattern and applied a slow to it or something, but I may try something like that. I just think this thread must be useful so we can understand a bit about how tidalcycles “thinks”

Thank you everyone.

Note to readers: The L key on my keyboard is broken and I’ve developed the habit of using hypercase I’s for my lowercase L’s to avoid using the virtual keyboard that much.
I tried avoiding that in this thread for search-result optmization but I must have slipped sometimes, I’m sorry.



Maybe you should post snippets of your code, this will be more clear to understand :slightly_smiling_face: