I should start this off by saying I’m a hobbyist and by no means a student. I’ve been reading “The Audio Programming Book”, and attempting to implement STFT on the stm32 based Daisy platform.
In order to learn from a working sample, I’ve been using mutable instruments’ Shy_fft for fft processing. So far, I have normal fft > Ifft functioning and am beginning to take steps towards STFT.
I cannot seem to get the stft functionality working, and am struggling to even understand if I’m processing / understanding the fundamentals.
Here is the second implementation I tried. The first version was overwritten by the update
The first version seemed to “work” but there was an issue where the output was “choppy”, seeming to be dropping frames. The second version didn’t seem to output any audio.
EDIT: I should mention that the gist wasn’t updated with a functioning audio output. I’ll try and update it later and remove this edit
Any tips/comments on where I’m going wrong/how I should be doing things are greatly appreciated.
EDIT 2: See updated NaiveSTFT class here