Skip to content

raphaelquintao/QAudioVisualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QAudioVisualizer

Non GPU and Low CPU usage GTK Audio Visualizer for Linux

Normal Mirror
normal mirror
Normal.mp4
Mirror.mp4

How it works

  1. Basically you need to get the raw output from the sound card (C does that very well).
  2. Run a Fast Fourier transform
  3. Then a Low-pass filter
  4. Finally, some Linear interpolation to draw

Requirements

C

  • Pulse Audio (libpulse)
    • Debian: sudo apt-get install lippulse0 libpulse-dev

Python

  • Python 3
  • Numpy (numpy)
    • pip3 install numpy
  • SciPy (scipy)
    • pip3 install scipy

Compiling C Library

cd qaudio
make

Usage

./soundbars.py [-h] [--size SIZE] [--max_fps MAX_FPS] [--bars BARS] [--space SPACE] [--opacity OPACITY] [--fps] [--no_mirror]

Parameter Description
-h, --help show this help message and exit
--size Window Size (default: 1600x900)
--max_fps Max FPS
--bars Number of bars
--space Space Between Bars (default: 1)
--opacity Overall Opacity (default: 0.7)
--fps, --fps_show Show FPS
--no_mirror Remove Mirror Effect

About

Lightweight Linux GTK Audio Visualizer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published