Read Nate Cook’s post Swift’s Pointy Bits: Unsafe Swift & Pointer Types about raw memory manipulation in Swift with UnsafePointer<T>, UnsafeRawPointer, UnsafeMutablePointer<T>, and UnsafeMutableRawPointer, withUnsafeBytes. It has curious example of speeding up array manipulation with withUnsafeMutableBufferPointer by getting rid of bounds check. Unfortunately it mentions only slightly bindMemory and assumingMemoryBound.

Watched videos about Short-time Fast Fourier Transform from Audio Signal Processing for Music Applications.

This PDF with slides from lecture helped a little with understanding how STFT is build. Hand drawing at the bottom of this cheat-sheet helped understand how hop size and window size work together.