protected void initialise(double[] aSignal, int aSamplingRate, Window aWindow, int aWindowShift, int aFftSize, int width, int height) { this.signal = aSignal; this.samplingRate = aSamplingRate; this.window = aWindow; this.windowShift = aWindowShift; this.fftSize = aFftSize; super.initialise(width, height, 0, (double) aWindowShift / aSamplingRate, new double[10]); update(); initialiseDependentWindows(); }
protected void initialise(double[] aSignal, int aSamplingRate, Window aWindow, int aWindowShift, int aFftSize, int width, int height) { this.signal = aSignal; this.samplingRate = aSamplingRate; this.window = aWindow; this.windowShift = aWindowShift; this.fftSize = aFftSize; super.initialise(width, height, 0, (double) aWindowShift / aSamplingRate, new double[10]); update(); initialiseDependentWindows(); }