/// <summary> /// Returns the window function. /// </summary> /// <param name="frameSize">Window size</param> /// <returns>Array</returns> public override float[] GetWindow(int frameSize) { float t = (frameSize - 1) / 2.0f; float[] x = Matrice.Compute(-t, t, 1); return(this.Function(x, frameSize)); }
/// <summary> /// Returns the window function. /// </summary> /// <returns>Array</returns> public override float[] GetWindow(int frameSize) { // window function on a discrete time: float t = frameSize - 1; float[] x = Matrice.Compute(0, t, 1); return(this.Function(x, frameSize)); }
/// <summary> /// Returns the window function. /// </summary> /// <param name="frameSize">Window size</param> /// <returns>Array</returns> public override float[] GetWindow(int frameSize) { float t = frameSize - 1; float[] x = Matrice.Compute(0, t, 1); return this.Function(x, frameSize); }