flok icon indicating copy to clipboard operation
flok copied to clipboard

".beat is not a function"

Open absentfriend2025 opened this issue 11 months ago • 2 comments

The beat() function (added here (https://github.com/tidalcycles/strudel/releases/tag/v1.1.0), with a lot of other features) for example, throws an error:

TypeError: s(...).beat is not a function

absentfriend2025 avatar Jan 25 '25 21:01 absentfriend2025

Hi! I believe it is using Strudel v1.1.0 already. Can you provide an example that fails? I tried this and it seems to work fine, maybe it's something else...

munshkr avatar Jan 26 '25 12:01 munshkr

Hmm, that's odd. I tried s("cajon").beat("0, 2, 4, 6", 8) and it threw that error.

absentfriend2025 avatar Jan 26 '25 14:01 absentfriend2025