Skip to content

JoerdonFryeman/AudioVisualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ЭЛЕКТРОНИКА 54 (AudioVisualizer)

A simple console audio visualization.

AudioVisualizer

Startup

Download latest release.

In Linux, run AudioVisualizer_v1.0.2 in the terminal with the command:

cd /home/your_directories.../AudioVisualizer_v1.0.2/Linux/ && ./AudioVisualizer_v1.0.2

Requirements

  • Python: >= 3.11
  • numpy: >= 2.4.2
  • sounddevice: >= 0.5.5
  • pulsectl: >= 24.12.0
  • The application was developed for Arch Linux with the KDE Plasma desktop environment, but should work in other distributions.

Installation

Download the project

git clone https://github.com/JoerdonFryeman/AudioVisualizer
cd AudioVisualizer

For Linux

Create and activate a virtual environment:

python -m venv venv && source venv/bin/activate

Install the requirements and run the script in your console:

pip install --upgrade pip && pip install -r requirements.txt
python main.py

Stop

Just press Enter or try any other key.

Settings

Some program settings can be specified in the config.json file.

  • You can change the audio device number.
  • On each launch the application registers the current audio devices, which are recorded in the logs.
  • Modify the following parameters: channels_number, samples_number, maxsize, bands_levels, and bands.

The default settings can be restored by deleting the config.json file and restarting the program.

License

This project is being developed under the MIT license.

Support with Bitcoin

bc1qewfgtrrg2gqgtvzl5d2pr9pte685pp5n3g6scy