-
-
Notifications
You must be signed in to change notification settings - Fork 126
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
Support beat-oriented composition and transformation, via 'weighted cycles' #987
Comments
With b1b91fc , |
Now |
It would be nice if "x(3,8)".tactus === 8
"[x(3,8)]".tactus === 1
"x(3,8) x".tactus === 2
"x(3,8)@4".tactus === 4 // already works
"[^x(3,8)] x".tactus === 16 |
It doesn't really make sense that Alternatively we could accept a breaking change and make "x(3,8)".tactus === 1
"x!(3,8)".tactus === 8
// which implies..
"x*(3,8)".tactus === 1 A bit messy though. :/ Another possibility: "x(3,^8)".tactus === 8
"x(3,^8) x".tactus === 9 |
Worked a lot of things out in this Tidal PR, needs back-back-porting here ! |
Rather than using |
This is kind-of working now. I'll make a fresh issue for tidying things up. |
By an accident of implementation, the mininotation currently adds a
__weight
property to mininotation, that gives the number of 'steps' at the highest level of the sequence, e.g.a [b c] [email protected]
has a weight of 2.5.The 'guessing-timeCat' branch explores how this could support more beat-oriented functionality. It's named that first of all because
timeCat
can use this weight instead of having to have it explicitly specified for every pattern.The branch also has a
beatCat
function that accepts lists of lists of patterns, cycling between the elements within each sublist.It also adds a '__pure' property to 'pure' patterns, with a view to maintaining the weight across transformations such as 'fast' when pure values are used (it's not really possible to calculate a weight when patterned factors are passed to fast, unless the weight itself is a pattern)
The text was updated successfully, but these errors were encountered: