A pythonic script to add a layer of bass or treble over songs.
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
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
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.
- Strobe (Sparkee Remix) played by Davie504
- The Happiest Days of Our Lives by Pink Floyd
- Attention by Charlie Puth
- Another One Bites the Dust by Queen
- Can't Stop by RHCP