Extract data from a FOTK AudioKit graph

I am working on a project that involves recording sound from an iPhone microphone and then transfers it through the Fast Fourier Transform (FFT).

I found AudioKit.io has a demo in which it actively controls the microphone input and can display the FFT graph.

I have equations and logarithms with which I am going to analyze audio data, so all I really need is to receive FFT data that is sent to this section in AudioKit. I find it difficult to find functions / methods that manage the data that fill this plot.

Can someone please indicate where to find this FFT data in AudioKit?

+4
source share
1 answer

The FFT code that AudioKit uses is pretty standard. You can take AudioKit Plot and change the code as you wish:

https://github.com/AudioKit/AudioKit/blob/develop/AudioKit/Common/User%20Interface/AKNodeFFTPlot.swift

+4
source

Source: https://habr.com/ru/post/1584565/


All Articles