Sliding DFT

In applied mathematics, the sliding discrete Fourier transform is a recursive algorithm to compute successive STFTs of input data frames that are a single sample apart (hopsize  1).[1]

Definition

Starting with a DFT at time n,

The DFT for time n + 1 can be computed as

and recursively thereafter as

with

gollark: Remove all nonprimitive types and just copy those.
gollark: The solution is simple.
gollark: There's a better* way. Just make it so that all shapes are actually just a maximally generic Shape of some sort, which can be converted into Option<Rectangle>s.
gollark: (you would ship pregenerated indentation polynomials with macronfmt of course)
gollark: For indenting.

References

  1. Bradford, Russell (2005). "SLIDING IS SMOOTHER THAN JUMPING" (PDF). Proceedings ICMC 2005.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.