setPitch(pitch, timeConstant, label){
		timeConstant = timeConstant || .01;
		if ( label ) {
			for ( let i = 0; i < this.gain.length; i++ ) {
				if ( this.gain[i].label === label ) {
					if ( pitch in Wad.pitches ) {
						this.gain[i].soundSource.frequency.setTargetAtTime(Wad.pitches[pitch], _common__WEBPACK_IMPORTED_MODULE_2__["context"].currentTime, timeConstant);
					}
					else {
						this.soundSource.frequency.settargetAtTime(pitch, _common__WEBPACK_IMPORTED_MODULE_2__["context"].currentTime, timeConstant);
					}
				}
			}
		}
		else {
			if ( pitch in Wad.pitches ) {
				if ( this.soundSource ) {
					this.soundSource.frequency.value = Wad.pitches[pitch];
				}
				this.pitch = Wad.pitches[pitch];
			}
			else {
				if ( this.soundSource ) {
					this.soundSource.frequency.value = pitch;
				}
				this.pitch = pitch;
			}
		}
		return this;
	}
@param {string|number} pitch - The new pitch setting. 
@param {number} [timeConstant] - Time in seconds for 63% of the transition to complete.
@param {string} [label] - If you want to apply this change to a note playing from this wad that is not the most recently triggered note, you can pass in the label of the notes you want to affect.
@returns {Wad}