/Bass-Treble-Booster

A pythonic script to add a layer of bass or treble over songs.

Primary LanguagePythonMIT LicenseMIT

Bass-Treble-Booster

A pythonic script to add a layer of bass or treble over songs.

Installation

This script uses a library called pydub. You can install it either in a virtualenv or pip install it directly.

pip install pydub numpy for direct installation of the library.

For virtualenv in the home folder:

# make virtualenv
cd ~
virtualenv pydub

# activate virtualenv
source ~/pydub/bin/activate
pip install pydub numpy

Clone and run:

git clone https://github.com/nsidn98/Bass-Treble-Booster.git
cd Bass-Treble-Booster
python BassBooster.py

This will add a layer of bass in the file No_roots.mp3 and save it as No_roots_bass_boost.mp3.

You can change the accentuate_db and the attenuate_db parameter to your liking. Do not increase accentuate_db too much as it makes it worse:P

Running on your own songs:

Make sure that the your_song.mp3 file is in the Bass-Treble-Booster folder. Then go to BassBooster.py and change the filepath here as your_song.py. Change the accentuate_db and attenuate_db as per your liking and run the file.

Recommendations to try out with bass boosting:

Reference

Pydub Library by James Robert