Note: This project uses Tone.js internally for sound generation
A simple opensource JavaScript polyrhythm generator. To test it out, go to polyrhythm.
SCROLL DOWN! to see the full thing :) Click on the numbers to change them
What do different fields do? well:
- ratios ( the big one in the middle ) - this is where you enter your musical ratio like 3:4 or 3:4. Note that you can also enter more than two "voices", for example 3:6:4 or 3:5:7:4
- repeat - this is how many times the segment should repeat
- scale - this is by how much the lengths of the notes in the segments should be scaled, this is basically metric modulation in music theory.
- subdivide - this can be either a single integer that applies to all the voices in the segment or multiple values separated by colons (":") - these values signify how many times each note should be subdivided into shorter non-accented notes.
- lastly you can remove a segment by clicking on the "close x" button that is situated over the ratios field (not present on the first segment)
- add segment - adds a new segment, it's not called a bar because its length is not necessarily equal to one bar.
- overall bpm - changes the overall bpm.
- PLAY! / PAUSE - play / pause
You have to deselect an input field or press enter for it to update.