#fft #audio-processing #conversion #data-processing #convert

no-std audioviz

a simple and easy to use library that helps you visualise raw audio-data

15 releases

0.6.0 Aug 10, 2023
0.5.0 Aug 8, 2022
0.4.4 Dec 24, 2021
0.3.2 Nov 20, 2021
0.1.1 Sep 27, 2021

#411 in Audio

41 downloads per month

MIT license

64KB
1.5K SLoC

audioviz

Audioviz is a simple and easy to use library that helps you visualise raw audio-data

This is done with the help of the Fast Fourier Transform algorithm, some frequency-space and volume normalisation and optional effects like gravity.

Features

  • Fast Fourier transform via RustFFT with space and volume normalisation
  • high-level abstraction but still possible to do everything manually
  • multiple interpolation modes like cubic and linear
  • system audio capturing using cpal
  • should be possible to implement in any project
  • modular design

Rust features

feature description
io capturing of system audio using CPAL
processor processing and filtering of audio data
serde implementation of Serialize and Deserialize traits
distributor helper for choppy audio-data stream smoothing
spectrum spectrum visualisation module
fft Fast Fourier Transform algorithm

Examples

Examples can be found here or in the documentation

Dependencies

~0–5MB
~94K SLoC