diff --git a/README.md b/README.md index 380c4b0..b1a8b85 100644 --- a/README.md +++ b/README.md @@ -95,7 +95,7 @@ $ python vaporiser.py --help ``` usage: vaporiser.py [-h] [-o OUTPUT_NAME] -a AUDIO_INPUT [-s SPEED_RATIO] - [-p PITCH_SHIFT] [-l LOWPASS_CUTOFF] [-b BASS] + [-p PITCH_SHIFT] [-l LOWPASS_CUTOFF] [-b BASS_BOOST] [-ga GAIN_DB] [-tr] [-ph] [-co] [-g GIF_FILE] [-sb] Creates a vaporwave (slowed, with reverb) remix of a given MP3 file, with the @@ -125,7 +125,8 @@ audio arguments: extra audio arguments: these arguments control extra, optional audio effects - -b BASS, --bass BASS Add a bass boost effect (e.g. --bass 3). (default: + -b BASS_BOOST, --bass BASS_BOOST + Add a bass boost effect (e.g. --bass 3). (default: None) -ga GAIN_DB, --gain GAIN_DB Applies gain (dB). (default: None) diff --git a/vaporiser.py b/vaporiser.py index 4dfdd9a..6f1b5f7 100644 --- a/vaporiser.py +++ b/vaporiser.py @@ -81,7 +81,7 @@ def main(): audio_arguments_optional.add_argument( "-b", "--bass", - dest="bass", + dest="bass_boost", help="Add a bass boost effect (e.g. --bass 3).", type=int, default=None, @@ -164,9 +164,9 @@ def main(): sys.exit() # Creating an audio effects chain, beginning with... - if args.bass: + if args.bass_boost: # ...bass boost effect - bass_boost = f'{"bass "}{args.bass}' + bass_boost = f'{"bass "}{args.bass_boost}' fx = AudioEffectsChain().custom(bass_boost) fx = fx.pitch(args.pitch_shift) else: