setPanning(panning, timeConstant){
		timeConstant = timeConstant || .01;
		if ( typeof panning === 'number' && !_common__WEBPACK_IMPORTED_MODULE_2__["context"].createStereoPanner ) {
			panning = [panning, 0, 0];
		}

		this.panning.location = panning;
		if ( lodash__WEBPACK_IMPORTED_MODULE_3___default.a.isArray(panning) && this.panning.type === '3d' && this.panning.node ) {
			this.panning.node.setPosition(panning[0], panning[1], panning[2]);

		}
		else if ( typeof panning === 'number' && this.panning.type === 'stereo' && this.panning.node) {
			this.panning.node.pan.setTargetAtTime(panning, _common__WEBPACK_IMPORTED_MODULE_2__["context"].currentTime, timeConstant);
		}

		if ( lodash__WEBPACK_IMPORTED_MODULE_3___default.a.isArray(panning) ) { this.panning.type = '3d'; }
		else if ( typeof panning === 'number' ) { this.panning.type = 'stereo'; }
		return this;
	}
@param {number|array} panning - The new panning setting.
@param {number} [timeConstant] - Time in seconds for 63% of the transition to complete.
@returns {Wad}