Exemplo n.º 1
0
		public static Filterbank GetFilterbank(AxisScale type, double scale, double @base, double bandwidth, double overlap)
		{
			Filterbank filterbank;
			if (type == AxisScale.SCALE_LINEAR) {
				filterbank = new LinearFilterbank(scale, @base, bandwidth, overlap);
			} else {
				filterbank = new LogFilterbank(scale, @base, bandwidth, overlap);
			}
			return filterbank;
		}
Exemplo n.º 2
0
        public static Filterbank GetFilterbank(AxisScale type, double scale, double @base, double bandwidth, double overlap)
        {
            Filterbank filterbank;

            if (type == AxisScale.SCALE_LINEAR)
            {
                filterbank = new LinearFilterbank(scale, @base, bandwidth, overlap);
            }
            else
            {
                filterbank = new LogFilterbank(scale, @base, bandwidth, overlap);
            }
            return(filterbank);
        }