1
0
Fork 0
mirror of https://github.com/JackHack96/EasyEffects-Presets.git synced 2024-10-16 11:40:46 +00:00

auto gain settings added

This commit is contained in:
suson 2020-08-21 19:49:02 +05:45
parent 39d3489ff6
commit f235a684fd
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() {
CHOICE=""
while [[ ! $CHOICE =~ ^[1-3]+$ ]]; do
while [[ ! $CHOICE =~ ^[1-4]+$ ]]; do
read -r CHOICE
if [ "$CHOICE" -lt 1 ] || [ "$CHOICE" -gt 3 ]; then
echo "Invalid option! Please input a value between 1 and 4!"
if [ "$CHOICE" -lt 1 ] || [ "$CHOICE" -gt 4 ]; then
echo "Invalid option! Please input a value between 1 and 5!"
fi
done
}
@ -33,6 +33,7 @@ install_menu(){
echo "1) Install all presets"
echo "2) Install Perfect EQ preset"
echo "3) Install all bass boosting presets"
echo "4) Install Advanced Auto Gain"
}
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
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
}