#ratatui-widgets #equalizer #frequency #band #bands #value #bar-charts #max #range #vertical

tui-equalizer

An equalizer widget for Ratatui with multiple frequency bands

4 releases

Uses new Rust 2024

new 0.2.0-alpha Jul 12, 2025
0.1.2 Feb 11, 2025
0.1.1 Feb 11, 2025
0.1.0 Feb 11, 2025

#216 in Visualization

Download history 2/week @ 2025-05-10

179 downloads per month

MIT/Apache

23KB

tui-equalizer

An equalizer widget for Ratatui with multiple frequency bands.

The equalizer is a vertical bar chart where each band represents a frequency range. Each band can display a value from 0.0 to 1.0, where 1.0 is the maximum value.

Made with VHS

This demo can be found in the examples folder in the git repo.

cargo run --example demo

Inspired by a comment in the ratatui repo.

Example

use tui_equalizer::{Band, Equalizer};

let equalizer = Equalizer {
    bands: vec![
        Band::from(0.5),
        Band::from(0.8),
        Band::from(0.3),
    ],
    brightness: 1.0,
};
equalizer.render(area, &mut buf);

License

Copyright (c) Josh McKinney

This project is licensed under either of:

at your option.

Dependencies

~6MB
~101K SLoC