AKFFTTap

@objc open class AKFFTTap: NSObject, EZAudioFFTDelegate

FFT Calculation for any node

  • Array of FFT data

    Declaration

    Swift

    open var fftData = [Double](zeros: 512)
  • Initialze the FFT calculation on a given node

    Declaration

    Swift

    public init(_ input: AKNode)

    Parameters

    input

    Node on whose output the FFT will be computed

  • Callback function for FFT computation

    Declaration

    Swift

    @objc open func fft(_ fft: EZAudioFFT!,
                            updatedWithFFTData fftData: UnsafeMutablePointer<Float>,
                            bufferSize: vDSP_Length)