hoshikitsunoda/react-sequencer

A user can compose and play the sequence.

Closed this issue · 1 comments

Motivation

A user can compose and play the sequence.

Implementation

  • Add query selector all to grab all element with class '.plays' in stepper function.

  • Add all audio elements to PlayStop.js.

  • Create currentCol variable outside the PlayStop class.

  • Create variables for each rows with currentCol property.

  • Create if conditions for each rows to see if it exists and contains selected.

  • If matches, play sound file according to the row.

  • Add last if statement to update currentCol.