#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

#180 in Audio

Download history 41/week @ 2024-02-17 27/week @ 2024-02-24 2/week @ 2024-03-02 10/week @ 2024-03-09 5/week @ 2024-03-16

58 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
~88K SLoC