jscalo / tempi-fft

Real-time audio input and FFT written entirely in Swift for iOS.
253 stars 47 forks source link

Instantiating TempiFFT #10

Closed AlexanderHearX closed 5 years ago

AlexanderHearX commented 5 years ago

There's an assert failure "Size must be a power of 2" when instantiating the FFT. inSize is 341, how would I go about checking where the problem is originating from?

Crittar commented 5 years ago

Have you checked the viewDidLoad() of SpectralViewController? I think that’s where the TemiAudioUnit is instantiated.

AlexanderHearX commented 5 years ago

It ended up working, I had to do a calibration first

nebucaz commented 5 years ago

Can not get this working, frame size is always 470 or 471. Can you give me a hint on that - what do you mean with "calibration"?