循環バッファ
Inheritance: IEnumerable
Exemplo n.º 1
0
		/// <summary>
		/// 係数の設定
		/// </summary>
		/// <param name="a">分母係数配列</param>
		/// <param name="b">分子係数配列</param>
		public void SetCoefficient(double[] a, double[]b)
		{
			if(a == null || b == null ||
				a.Length + 1 != b.Length)
			{
				this.buff = null;
				return;
			}

			this.buff = new CircularBuffer(a.Length);
			this.a = a;
			this.b = b;
		}
Exemplo n.º 2
0
		/// <summary>
		/// コンストラクタ
		/// </summary>
		/// <param name="taps">遅延タップ数</param>
		public Delay(int taps)
		{
			this.buf = new CircularBuffer(taps);
		}
Exemplo n.º 3
0
 /// <summary>
 /// コンストラクタ
 /// </summary>
 /// <param name="taps">遅延タップ数</param>
 public Delay(int taps)
 {
     this.buf = new CircularBuffer(taps);
 }