Skip to content

nhansendev/PyAudioPlayer

Repository files navigation

PyAudioPlayer

An audio player GUI with yt_dlp integration, made in python using PySide6.

image

Right-click any song to edit its data in the table: image

Middle-click any song to trim the beginning/end: image

Requirements

System

  • Python 3.11
  • Windows or Linux

Packages

pip install -r requirements.txt

Usage

Can be launched via terminal, or a shortcut pre-configured for the desired folder:

Terminal

> <parent folder path>\PyAudioPlayer\AudioPlayer.pyw <music folder path>

Shortcut (Windows)

Target: <parent folder path>\PyAudioPlayer\AudioPlayer.pyw <music folder path>

Start In: <parent folder path>

image

By default any .mp3 and .wav files in the music folder will be loaded.

Utilities

Volume Normalization

Update: 4/11/2024 This is also accessible via a button on the bottom-right corner of the GUI:

image

This utility uses the normalize effect from pydub to target a more uniform volume across audio files. Once a file has been normalize a tag is added to its metadata ("Norm=True"), which allows it to be ignored in the future.

Terminal

>python .\PyAudioPlayer\utils.py <music folder path>

Ex: 3 files were already normalized of 16 total

Checking 16 file(s)...
Processing...
100%|████████████████████████████████████████████████| 13/13 [00:22<00:00,  1.70it/s]
Done, normalized: 13 files

In Python

from utils import volume_normalizer

volume_normalizer(<music folder path>, <optional list of specific songs>)

About

An audio player made in python using PySide6

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published