Skip to content
This repository was archived by the owner on Jun 19, 2025. It is now read-only.

Conversation

@yaxu
Copy link
Member

@yaxu yaxu commented Mar 27, 2024

(Renames 'weight' to 'tactus' (clapping rate). 'pulse' is another contender.)

Up til now timeCat was taking the top level sequence in mininotation as the tactus. Now you can mark where the tactus comes from. E.g. "[a b c] d [^e f]" would have a tactus of 6, because the steps are 1/6th of cycle in the marked subsequence. If more than one is marked, then the lcm is taken, so "[^a b c] d [^e f]" would be the lcm of 9 and 6 which is 18.

timeCat("[^a b c] d [^e f]", "g h") would then have a tactus of 20.. In practice, you'd probably only want to mark one subsequence.

As things stand, if no tactus is marked, then it is taken from the toplevel sequence in mininotation.

* feels like a nice symbol for this. It must be specified at the start of a (sub)sequence, but probably is not practical as it's already used for density, and things quickly get unreadable: "[a b c*4] d*2 [*e*5 f]"

= or ' might be OK. Or we could use double brackets like `[a b c] d [[e f]]. Making mistakes in bracket matching is never fun in live coding though and that would make it worse.

^ would be a great choice, except that's proposed for memories in #513, as it is in tidal.

update Ok changed to ^ in the PR and above examples to see how that feels. We'd have to change #513 to something else.

@yaxu yaxu marked this pull request as draft March 27, 2024 09:32
@yaxu yaxu marked this pull request as ready for review March 27, 2024 10:45
@yaxu yaxu merged commit 2fd2bdb into main Mar 27, 2024
@yaxu yaxu deleted the tactus-marking branch March 27, 2024 12:06
@yaxu yaxu mentioned this pull request Apr 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant