Audio Extension App Audio Visualisation

I’m new to this and I haven’t been able to find proper documentation. I am developing an audio extension application for GarageBand/Logic Pro and I want to be able to visualize the frequency magnitude data that’s being processed. How do I pass the audio data from the C++ code to SwiftUI to visualize?

Audio Extension App Audio Visualisation
 
 
Q