void FFTCallback(float[] fftData) //data received { Dispatcher.Invoke(() => { MatrixFrame.FFTToFrame(fftData); //FrameToPreview(); SerialManager.PushFrame(); }); }