setRate(inputSpeed) {

		//Check/Save the input
		var speed;
		if(inputSpeed && inputSpeed > 0) speed = inputSpeed;
		else speed = 0;

		//Check if we have a soundsource (Though we always should)
		if(this.soundSource) {

			//Set the value
			this.soundSource.playbackRate.value = speed;
		}
		else {

			//Inform that there is no sound source on the current wad
			Object(_common__WEBPACK_IMPORTED_MODULE_2__["logMessage"])('Sorry, but the wad does not contain a soundSource!');
		}

		return this;
	}
@param {number} inputSpeed - The new rate setting.
@returns {Wad}