dist/howler.js
function() {
      var self = this;
      var parent = self._parent;

      // Setup the default parameters.
      self._muted = parent._muted;
      self._loop = parent._loop;
      self._volume = parent._volume;
      self._rate = parent._rate;
      self._seek = 0;
      self._paused = true;
      self._ended = true;
      self._sprite = '__default';

      // Generate a unique ID for this sound.
      self._id = ++Howler._counter;

      // Add itself to the parent's pool.
      parent._sounds.push(self);

      // Create the new node.
      self.create();

      return self;
    }
function() {
      var self = this;
      var parent = self._parent;

      // Setup the default parameters.
      self._muted = parent._muted;
      self._loop = parent._loop;
      self._volume = parent._volume;
      self._rate = parent._rate;
      self._seek = 0;
      self._paused = true;
      self._ended = true;
      self._sprite = '__default';

      // Generate a unique ID for this sound.
      self._id = ++Howler._counter;

      // Add itself to the parent's pool.
      parent._sounds.push(self);

      // Create the new node.
      self.create();

      return self;
    }
function ( ) { var self = this ; var parent = self . _parent ; // Setup the default parameters. self . _muted = parent . _muted ; self . _loop = parent . _loop ; self . _volume = parent . _volume ; self . _rate = parent . _rate ; self . _seek = 0 ; self . _paused = true ; self . _ended = true ; self . _sprite = '__default' ; // Generate a unique ID for this sound. self . _id = ++ Howler . _counter ; // Add itself to the parent's pool. parent . _sounds . push ( self ) ; // Create the new node. self . create ( ) ; return self ; }
Initialize a new Sound object.
@return {Sound}
Initialize a new Sound object .