       region.play()
     return
   wavesurfer.on 'region-click', editAnnotation
-  #wavesurfer.on('region-dblclick', splitRegion);
   wavesurfer.on 'region-updated', saveRegions
   wavesurfer.on 'region-removed', saveRegions
   wavesurfer.on 'region-in', showNote

randomColor = (alpha) ->
  'rgba(' + [
    ~ ~(Math.random() * 255)

    showNote.el.html region.data.note or '–'
  return


fileDropped = false

