   cmd = msg >> 4
   channel = msg & 0xf
   type = msg & 0xf0
-  
+
   console.log event.data
 
   switch type

updateViz = ->
  viz.draw(canvas)

  trackTime = (t / 4) % 1
  track.draw(canvas, trackTime, state)

  requestAnimationFrame updateViz


  console.log "release!"
  [osco, gain] = notes[id]
  # Wow this is nutz!
  # Need to set the value to the current value because the
  # linearRampToValueAtTime uses the previous time to create the ramp, yolo!
  gain.setValueAtTime(osco.gain.value, context.currentTime)
  gain.linearRampToValueAtTime(0.0, context.currentTime + 0.125)
