Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FFT"/> class.
 /// </summary>
 /// <param name="pipeline">The pipeline to add the component to.</param>
 /// <param name="fftSize">The FFT size.</param>
 /// <param name="inputSize">The window size.</param>
 public FFT(Pipeline pipeline, int fftSize, int inputSize)
     : base(pipeline)
 {
     this.fft = new FastFourierTransform(fftSize, inputSize);
 }
Exemplo n.º 2
0
Arquivo: FFT.cs Projeto: sandrist/psi
 /// <summary>
 /// Initializes a new instance of the <see cref="FFT"/> class.
 /// </summary>
 /// <param name="pipeline">The pipeline to add the component to.</param>
 /// <param name="fftSize">The FFT size.</param>
 /// <param name="inputSize">The window size.</param>
 /// <param name="name">An optional name for this component.</param>
 public FFT(Pipeline pipeline, int fftSize, int inputSize, string name = nameof(FFT))
     : base(pipeline, name)
 {
     this.fft = new FastFourierTransform(fftSize, inputSize);
 }