1
0
Fork 0
mirror of https://github.com/JackHack96/EasyEffects-Presets.git synced 2024-11-23 14:20:08 +00:00

Merge pull request #10 from susonthapa/auto_gain_eq

auto gain settings added
This commit is contained in:
Matteo Iervasi 2020-08-21 16:44:52 +02:00 committed by GitHub
commit 51b4951699
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1032 additions and 3 deletions

1024
Advanced Auto Gain.json Normal file

File diff suppressed because it is too large Load diff

View file

@ -20,10 +20,10 @@ check_impulse_response_directory() {
read_choice() { read_choice() {
CHOICE="" CHOICE=""
while [[ ! $CHOICE =~ ^[1-3]+$ ]]; do while [[ ! $CHOICE =~ ^[1-4]+$ ]]; do
read -r CHOICE read -r CHOICE
if [ "$CHOICE" -lt 1 ] || [ "$CHOICE" -gt 3 ]; then if [ "$CHOICE" -lt 1 ] || [ "$CHOICE" -gt 4 ]; then
echo "Invalid option! Please input a value between 1 and 4!" echo "Invalid option! Please input a value between 1 and 5!"
fi fi
done done
} }
@ -33,6 +33,7 @@ install_menu(){
echo "1) Install all presets" echo "1) Install all presets"
echo "2) Install Perfect EQ preset" echo "2) Install Perfect EQ preset"
echo "3) Install all bass boosting presets" echo "3) Install all bass boosting presets"
echo "4) Install Advanced Auto Gain"
} }
install_presets(){ install_presets(){
@ -78,6 +79,10 @@ install_presets(){
curl "https://raw.githubusercontent.com/JackHack96/PulseEffects-Presets/master/Bass%20Boosted.json" --output "$PRESETS_DIRECTORY/output/Bass Boosted.json" --silent curl "https://raw.githubusercontent.com/JackHack96/PulseEffects-Presets/master/Bass%20Boosted.json" --output "$PRESETS_DIRECTORY/output/Bass Boosted.json" --silent
sed -i 's/matteo/'"$USER"'/g' "$PRESETS_DIRECTORY/output/Bass Boosted.json" sed -i 's/matteo/'"$USER"'/g' "$PRESETS_DIRECTORY/output/Bass Boosted.json"
;; ;;
4) echo "Installing Advanced Auto Gain..."
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"
;;
esac esac
} }