hoshikitsunoda/react-sequencer

A user can start the sequencer by hitting the play button.

Closed this issue · 1 comments

Motivation

A user can start the sequencer by hitting the play button and indicator above lights up along with the current position of the sequencer.

Implementation

  • Add position to the state set to 0.

  • Modify stepper function to update position.

  • Add query selector for sequence indicator.

  • Iterate through position state and add class of 'lit' to each indicator.

  • Install stable-timer.

  • Require it in PlayStop.js.

  • Apply it on setInterval.