Adds a setTempo
method that changes the tempo and timeout of the StepSequencer
object. This tempo is reflected live, i.e. is the tempo of the stepSequencer will change as it is playing.
Adds a setSequence
method that changes the division and sequence of the StepSequencer
object. Like setTempo
, the values are updated live.
Adds some more unit tests and type checks.