Exemplo n.º 1
0
		/// <summary>
		/// Instantiate a new Stft Class
		/// </summary>
		/// <param name="winsize">FFT window size</param>
		/// <param name="hopsize">Value to hop on to the next window (50% overlap is when hopsize is half of the window size)</param>
		/// <param name="window">Window function to apply to every window processed</param>
		public Stft(int winsize, int hopsize, IWindowFunction window)
		{
			this.winsize = winsize;
			this.hopsize = hopsize;
			fft = new Fft(winsize, window);
		}
Exemplo n.º 2
0
 /// <summary>
 /// Instantiate a new Stft Class
 /// </summary>
 /// <param name="winsize">FFT window size</param>
 /// <param name="hopsize">Value to hop on to the next window (50% overlap is when hopsize is half of the window size)</param>
 /// <param name="window">Window function to apply to every window processed</param>
 public Stft(int winsize, int hopsize, IWindowFunction window)
 {
     this.winsize = winsize;
     this.hopsize = hopsize;
     fft          = new Fft(winsize, window);
 }