Crates.io | audio-visualizer |
lib.rs | audio-visualizer |
version | 0.4.0 |
source | src |
created_at | 2021-03-10 23:15:58.783482 |
updated_at | 2023-09-21 19:14:12.782045 |
description | Smple audio visualization library which is especially useful for developers to visually check audio samples, e.g. by waveform or spectrum. (So far) this library is not capable of doing nice visualizations for end users. |
homepage | https://github.com/phip1611/audio-visualizer |
repository | https://github.com/phip1611/audio-visualizer |
max_upload_size | |
id | 367002 |
size | 189,387 |
So far this library is rather basic and targets developers that develop audio algorithms. With this library you can easily display your current audio data/waveform/spectrum and check if everything looks good/as expected.
dynamic real-time audio
static waveform
static spectrum
There are several examples in the examples/
directory. Below, you can see some visualization examples.
On the top you see the original waveform of the song Holiday by Green Day. On the bottom you see the data after a
lowpass filter was applied. The beats are visible.
On the top you see the original waveform of the song Holiday by Green Day. On the bottom you see
the frequency spectrum of the latest 46ms of audio. Frequencies <2000Hz are clearly present.
The MSRV is 1.63.0 stable.
sudo apt install libasound2-dev libxkbcommon-dev