public FftResource(string tag, int bins, bool isHalf) { //Set this.tag = tag; this.bins = bins; this.isHalf = isHalf; //Create fft = new FFTGenerator(bins, isHalf); buffer = UnsafeBuffer.Create(bins, out bufferPtr); }
public FFTViewWrapper(IPowerView view, int fftWidth, bool isHalf) { this.view = view; fft = new FFTGenerator(fftWidth, isHalf); smoothener = new FFTSmoothener(fft, attack, decay); }