From 9394e0fe46915c1b7fec3e7e0a53f894fd5dd4a4 Mon Sep 17 00:00:00 2001 From: Swastik Dwivedi <50874358+drunckj@users.noreply.github.com> Date: Mon, 19 Jul 2021 11:52:20 +0530 Subject: [PATCH 1/5] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 17f8371..9a68a82 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,10 @@ It currently contains: 4. **Advanced Auto Gain** This preset is targeted for laptop speakers and tries to improve both lower and higher frequencies. It also tries to normalize the volumes in different medias like speech and music. More information can be found in [this](https://medium.com/@susuthapa19961227/trying-to-improve-audio-in-linux-with-pulseeffects-63f37ea5b320) blog. + +5. **LoudnessEqualizer** + + This preset is targeted for laptop speakers to get clear voice locals and prevent dimming of sound when bass part gets played. More info can be found [here](https://github.com/Digitalone1/EasyEffects-Presets) # Installation The `install.sh` script will try to install the presets automatically, just fire up a terminal and run the command: From 87fd15b952ad40cf00c1f3da6cc041b4129755ce Mon Sep 17 00:00:00 2001 From: Swastik Dwivedi <50874358+drunckj@users.noreply.github.com> Date: Mon, 19 Jul 2021 12:06:17 +0530 Subject: [PATCH 2/5] added laptop preset This preset prevents dimming of sound from speakers when bass heavy part plays --- install.sh | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 0c33657..fd292aa 100755 --- a/install.sh +++ b/install.sh @@ -20,9 +20,9 @@ check_impulse_response_directory() { read_choice() { CHOICE="" - while [[ ! $CHOICE =~ ^[1-4]+$ ]]; do + while [[ ! $CHOICE =~ ^[1-5]+$ ]]; do read -r CHOICE - if [ "$CHOICE" -lt 1 ] || [ "$CHOICE" -gt 4 ]; then + if [ "$CHOICE" -lt 1 ] || [ "$CHOICE" -gt 5 ]; then echo "Invalid option! Please input a value between 1 and 5!" fi done @@ -34,6 +34,7 @@ install_menu(){ echo "2) Install Perfect EQ preset" echo "3) Install all bass boosting presets" echo "4) Install Advanced Auto Gain" + echo "5) Install Laptop speaker preset" } install_presets(){ @@ -83,6 +84,12 @@ install_presets(){ curl "https://raw.githubusercontent.com/JackHack96/PulseEffects-Presets/master/Advanced%20Auto%20Gain.json" --output "$PRESETS_DIRECTORY/output/Advanced Auto Gain.json" --silent sed -i 's/matteo/'"$USER"'/g' "$PRESETS_DIRECTORY/output/Advanced Auto Gain.json" ;; + 5) echo "Installing Laptop preset..." + curl "https://github.com/Digitalone1/EasyEffects-Presets/raw/master/LoudnessEqualizerPE.json" --output "$PRESETS_DIRECTORY/output/Laptop.json" --silent + sed -i 's/matteo/'"$USER"'/g' "$PRESETS_DIRECTORY/output/Laptop.json" + ;; + + esac } From 3e4c502fac164f5ea18ebc2a258b53d7e554b1e4 Mon Sep 17 00:00:00 2001 From: Swastik Dwivedi <50874358+drunckj@users.noreply.github.com> Date: Mon, 19 Jul 2021 12:07:36 +0530 Subject: [PATCH 3/5] added info about laptop preset --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9a68a82..6c533b2 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ It currently contains: 5. **LoudnessEqualizer** - This preset is targeted for laptop speakers to get clear voice locals and prevent dimming of sound when bass part gets played. More info can be found [here](https://github.com/Digitalone1/EasyEffects-Presets) + This preset is targeted for laptop speakers to get clear voice locals and prevent dimming of sound when bass part gets played. More info can be found [Digtalone1's github](https://github.com/Digitalone1/EasyEffects-Presets) # Installation The `install.sh` script will try to install the presets automatically, just fire up a terminal and run the command: From 03aaeaba75827fe8f800fc5b5fcd50d26768cf75 Mon Sep 17 00:00:00 2001 From: Swastik Dwivedi <50874358+drunckj@users.noreply.github.com> Date: Mon, 19 Jul 2021 12:10:00 +0530 Subject: [PATCH 4/5] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6c533b2..8dffa62 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ It currently contains: 5. **LoudnessEqualizer** - This preset is targeted for laptop speakers to get clear voice locals and prevent dimming of sound when bass part gets played. More info can be found [Digtalone1's github](https://github.com/Digitalone1/EasyEffects-Presets) + This preset is targeted for laptop speakers to get clear voice locals and prevent dimming of sound when bass part gets played. More info can be found on [Digtalone1's github](https://github.com/Digitalone1/EasyEffects-Presets) # Installation The `install.sh` script will try to install the presets automatically, just fire up a terminal and run the command: From 04114e49a8d1e1f4817029bbf80c3b40d6e75f7c Mon Sep 17 00:00:00 2001 From: Swastik Dwivedi <50874358+drunckj@users.noreply.github.com> Date: Mon, 19 Jul 2021 15:55:48 +0530 Subject: [PATCH 5/5] fixed wrong linking to preset file --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index fd292aa..f76b068 100755 --- a/install.sh +++ b/install.sh @@ -85,7 +85,7 @@ install_presets(){ sed -i 's/matteo/'"$USER"'/g' "$PRESETS_DIRECTORY/output/Advanced Auto Gain.json" ;; 5) echo "Installing Laptop preset..." - curl "https://github.com/Digitalone1/EasyEffects-Presets/raw/master/LoudnessEqualizerPE.json" --output "$PRESETS_DIRECTORY/output/Laptop.json" --silent + curl "https://raw.githubusercontent.com/Digitalone1/EasyEffects-Presets/master/LoudnessEqualizerPE.json" --output "$PRESETS_DIRECTORY/output/Laptop.json" --silent sed -i 's/matteo/'"$USER"'/g' "$PRESETS_DIRECTORY/output/Laptop.json" ;;