   # ----------------------------
   #   SOUND INSTANCES
   # ----------------------------
+
+  # TODO: Figure out how to make this into a class
 
   sound: (src, options={}) ->
     pid        = 0


    @stop = ->
      return @ if !supported
      @setTime( @getDuration() )
      @sound.pause()
      return @


        for event, i in events
          namespace = event.idx.split('.')
          if event.idx == idx || (namespace[1] && namespace[1] == idx.replace('.', '') )
            @sound.removeEventListener(type, event.func, true)
            events.splice(i, 1) # remove event

      return @
