Rust library: audio-visualizer
So far this library is really simple and mainly 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. Functionality is really limited and follow the KISS (keep it simple, stupid) principle. Code contributions are very welcome!
Example of a waveform
Example of a spectrum
Covered Functionality
-
waveform
- dynamic: live visualization to audio input stream
- TODO: code contributions are welcome
- static: visualization of a single, static sample
- very basic PNG output
- PNG output with basic axes/labels using https://crates.io/crates/plotters
- TODO fancy static output
- dynamic: live visualization to audio input stream
-
spectrum
- dynamic: visualization of a single, static sample
- TODO: code contributions are welcome
- static: visualization of a single, static sample
- very basic PNG output with the option to highlight specific frequencies
- PNG output with basic axes/labels using https://crates.io/crates/plotters
- TODO fancy static output
- dynamic: visualization of a single, static sample
Example code
use ;
use ChannelInterleavement;
use Channels;
use visualize;
use PathBuf;
use File;
/// Example that reads MP3 audio data and prints the waveform to a PNG file.