Hiyve Components - v1.0.0
    Preparing search index...

    Function rhythmFromTaps

    • A rhythm tapped on a drum, as the card's tiles: each tap's time in beats from the start of the bar (a tap a little early counts for the beat it nears), each snapped to the nearest eighth — or quarter, when no tile is shorter — each note lasting until the next tap, the last to the end of the bar. A gap the tiles have a rest for becomes a rest; a length no tile holds is shortened to the longest that fits, a rest (or the note before) taking up the rest. Taps past the bar are left out.

      Parameters

      Returns NoteValue[]