microspectrogram 0.1.0

A simple `no_std` library for computing spectrograms.
Documentation
  • Coverage
  • 0%
    0 out of 7 items documented0 out of 3 items with examples
  • Size
  • Source code size: 30.93 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.54 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 18s Average build duration of successful builds.
  • all releases: 18s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • spadarian/microspectrogram
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • spadarian

Microspectrogram

A simple no_std library for computing spectrograms.

Example visualisation of a spectrogram

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.