When you create the aggregator, use this line to create the event
aggregator.FftCalculated += (s, a) => OnFftCalculated(a); // <<< EVENT
fftEventArgs is handled by Linq using =>
If you dont understand Linq, just copy and paste the code, it should work fine.
Then add this function
aggregator.FftCalculated += (s, a) => OnFftCalculated(a); // <<< EVENT
fftEventArgs is handled by Linq using =>
If you dont understand Linq, just copy and paste the code, it should work fine.
Then add this function
protected virtual void OnFftCalculated(FftEventArgs e)
{
// Send the complex array (paired float array) e.Result[] to your graph
}