fftviz

Crates.iofftviz
lib.rsfftviz
version0.3.3
sourcesrc
created_at2024-03-04 05:58:13.311375
updated_at2024-03-18 23:39:39.762825
descriptionA lightweight, customizable FFT visualizer for audio files
homepagehttps://github.com/gursi26/fftviz
repositoryhttps://github.com/gursi26/fftviz
max_upload_size
id1161217
size165,935
gursi26 (gursi26)

documentation

README

fftviz

A lightweight, customizable FFT visualizer for audio files. Built with Rust + Bevy.

Presentation1

https://github.com/gursi26/fftviz/assets/75204369/b53589f3-9871-416e-96df-c9de2591f835

Installation

Cargo

cargo install fftviz

Homebrew

brew tap gursi26/fftviz
brew install fftviz

Keybinds

  • q to close window.
  • e to open config gui in player window.
  • Space to pause/play.
  • to increase volume.
  • to decrease volume.

Usage

  • Run fftviz with a path to an audio file.
fftviz "path/to/audio/file.mp3"
  • Run with -h flag for configuration options
fftviz -h
A lightweight, customizable FFT visualizer for audio files

Usage: fftviz [OPTIONS] <FILE_PATH>

Arguments:
  <FILE_PATH>  File path to Audio file

Options:
      --smoothness <SMOOTHNESS>
          Smoothing factor for spatial interpolation between bars
      --freq-resolution <FREQ_RESOLUTION>
          Number of individual frequencies detected by the FFT
      --min-freq <MIN_FREQ>
          Maximum frequency detected by FFT
      --max-freq <MAX_FREQ>
          Minimum frequency detected by FFT
      --volume <VOLUME>
          Volume
      --width <WINDOW_WIDTH>
          Window width
      --height <WINDOW_HEIGHT>
          Window height
      --border-size <BORDER_SIZE>
          Border size for each bar
      --border-color <BORDER_COLOR>
          Border color for each bar (in hex)
      --bar-color <BAR_COLOR>
          Color for each bar (in hex)
      --track-name
          Use if you want track name to be printed
      --display-gui
          Use if you want the gui to be open when launched
      --debug
          Use if you want to display debug information when launching
      --no-title-bar
          Use to disable the title bar
      --text-color <TEXT_COLOR>
          Color for currently playing text (in hex)
      --font-size <FONT_SIZE>
          Font size of currently playing label
      --background-color <BACKGROUND_COLOR>

  -h, --help
          Print help
  -V, --version
          Print version
Commit count: 70

cargo fmt