   # Processes @rawBpms and @rawPauses into @beatBpm, @beatTime, and @beatPause.
   computeBeatMaps: ->
     @rawBpms.sort()
-    @rawBpms.push({beat: @lastBeat, bpms: 1})
+    @rawBpms.push({beat: @lastBeat + 1, bpms: 1})
     @beatBpm = []
     beat0 = null
     bpm0 = 0

        @loadSheet sheet
        break
    delete @rawSheets
    
  # Processes the data pertaining to synchronizing notes to the audio file.
  loadSyncData: (data) ->

    @beatPause = {}
    time = 0
    pauseIndex = 0
    console.log @rawPauses
    for beat in [0..@lastBeat]
      while @rawPauses[pauseIndex] && @rawPauses[pauseIndex].beat < beat
        pause = @rawPauses[pauseIndex]
