1 unstable release
0.1.0 | Jun 4, 2023 |
---|
#1894 in Algorithms
19KB
468 lines
Microspectrogram
A simple no_std
library for computing spectrograms.
Implementation details
- The FFT is performed by the microfft create. It uses the Radix-2 FFT algorithm so the number of samples is limited to powers of 2.
- It follows the spectrogram implementation of the scipy python library.
- This library implements the minimum requirements for one of my projects so many features are missing (e.g. windows, scaling functions, detrending function, etc). At the moment, it is equivalent to the default parameters of the scipy implementation. Merge requests are welcome.
Usage
See examples/spectrogram.rs for the complete example that generates the spectrogram image above.
Dependencies
~2MB
~96K SLoC