SoundLibrary.Filter.Delay.FractionalDelay.GetValue C# (CSharp) Method

GetValue() public method

値の取り出し。
public GetValue ( ) : double
return double
		public double GetValue()
		{
			if(this.buf == null)
				return 0;

			int n = this.integer - this.Delay;
			int i = 0;
			if(n < 0)
			{
				i = -n;
				n = 0;
			}

			double y = 0;
			for(; i<this.Length; ++i, ++n)
				y += this.buf[n] * this.coef[i];
			return y;
		}

Same methods

FractionalDelay::GetValue ( double x ) : double