mirror of
https://github.com/JackHack96/EasyEffects-Presets.git
synced 2024-11-21 21:30:09 +00:00
auto gain settings added
This commit is contained in:
parent
39d3489ff6
commit
f235a684fd
2 changed files with 1032 additions and 3 deletions
1024
Advanced Auto Gain.json
Normal file
1024
Advanced Auto Gain.json
Normal file
File diff suppressed because it is too large
Load diff
11
install.sh
11
install.sh
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue