Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

Modulus operator #1

Closed
adamrenklint opened this issue Mar 11, 2015 · 0 comments
Closed

Modulus operator #1

adamrenklint opened this issue Mar 11, 2015 · 0 comments

Comments

@adamrenklint
Copy link
Owner

['1.*.1%24', ...] // triggered at tick 1, 25, 49, 73 on beat 1, 2, 3, 4
['1.*.3%15', ...] // triggered at tick 3, 18, 33, 48, 63, 78, 93 on beat 1, 2, 3, 4

dilla metronome example could be rewritten:

dilla.set('metronome', [
  ['*.1.01', duration, 440],
  ['*.2%1.01', duration, 330]
]);
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant