         
         @reset()
 
+    # when changing the tempo (bpm, signature) or resolution - reset needs to be called
     reset: ->
         # beats per millisecond
         @beatInterval = 1000 / (@bpm / 60)


        else
            @onBeat = @onBar = false
            @on32 = @on16 = @on8 = @on4 = @on2 = false

        @beat



        # booleans wether the current timestep is on that particular note
        @onBeat = @onBar = false
        @on64 = @on32 = @on16 = @on8 = @on4 = @on2 = false
       

    # call update continously with time since last timestep
    update: (dt) ->
        @time += dt

