 #
 # TinyRave Object
 TinyRave = {
-  setBPM: (@BPM) ->
+  setBPM: (@BPM) -> @timer.invalidateBeatLength()
   getBPM: -> @BPM
   timer: new TinyRaveTimer()
 }

    while descriptor = @dequeueNextDescriptor()
      descriptor.callback.apply(undefined)


# All timer DSL functions (every, until, after) are called with an instance of
# TopLevelScope or ShadowScope as `this.` Initially, we create a TopLevelScope


  # -
  setBPM: (bpm) ->
    TinyRave.setBPM(bpm)

  getBPM: ->
