protected function setFrequency($sampleRate)
	{
		if ( ! is_numeric($sampleRate) || $sampleRate < 0)
		{
			throw new \InvalidArgumentException('Wrong sample rate value.');
		}
		
		$this->frequency = (int) $sampleRate;
		
		return $this;
	}