It looks like that graph only updates every 250ms so you only need a snapshot of the audio every quarter of a second.
The SampleAggregator will collect all the samples, then calculate and send the current snapshot to the graph when needed.
That graph appears to need around 2048 float of FFT data. Calculating the FFT on absolutely all the samples would be redundant
The SampleAggregator will collect all the samples, then calculate and send the current snapshot to the graph when needed.
That graph appears to need around 2048 float of FFT data. Calculating the FFT on absolutely all the samples would be redundant





