#audio #fft #conversion

audioviz

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

14 unstable releases (4 breaking)

0.5.0 Aug 8, 2022
0.4.4 Dec 24, 2021
0.3.2 Nov 20, 2021
0.2.0 Oct 16, 2021
0.1.1 Sep 27, 2021

#132 in Audio

50 downloads per month

MIT license

57KB
1K 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–3.5MB
~79K SLoC