Пример #1
0
        public override IFilter GetFilter()
        {
            int len = this.Length;

            Misc.MultiDelay.Tuple[] tuples = new Misc.MultiDelay.Tuple[len];
            for (int i = 0; i < len; ++i)
            {
                double gain  = this.GetGain(i);
                int    delay = this.GetDelay(i);
                tuples[i] = new Misc.MultiDelay.Tuple(gain, delay);
            }
            return(new Misc.MultiDelay(tuples));
        }
Пример #2
0
		public override IFilter GetFilter()
		{
			int len = this.Length;
			Misc.MultiDelay.Tuple[] tuples = new Misc.MultiDelay.Tuple[len];
			for(int i=0; i<len; ++i)
			{
				double gain = this.GetGain(i);
				int delay = this.GetDelay(i);
				tuples[i] = new Misc.MultiDelay.Tuple(gain, delay);
			}
			return new Misc.MultiDelay(tuples);
		}