mirror of
https://github.com/JackHack96/EasyEffects-Presets.git
synced 2024-11-21 13:20:09 +00:00
Merge pull request #13 from drunckj/master
This commit is contained in:
commit
9ee64acb78
2 changed files with 13 additions and 2 deletions
|
@ -19,6 +19,10 @@ It currently contains:
|
||||||
4. **Advanced Auto Gain**
|
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.
|
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 on [Digtalone1's github](https://github.com/Digitalone1/EasyEffects-Presets)
|
||||||
|
|
||||||
# Installation
|
# Installation
|
||||||
The `install.sh` script will try to install the presets automatically, just fire up a terminal and run the command:
|
The `install.sh` script will try to install the presets automatically, just fire up a terminal and run the command:
|
||||||
|
|
11
install.sh
11
install.sh
|
@ -20,9 +20,9 @@ check_impulse_response_directory() {
|
||||||
|
|
||||||
read_choice() {
|
read_choice() {
|
||||||
CHOICE=""
|
CHOICE=""
|
||||||
while [[ ! $CHOICE =~ ^[1-4]+$ ]]; do
|
while [[ ! $CHOICE =~ ^[1-5]+$ ]]; do
|
||||||
read -r CHOICE
|
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!"
|
echo "Invalid option! Please input a value between 1 and 5!"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
@ -34,6 +34,7 @@ install_menu(){
|
||||||
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"
|
echo "4) Install Advanced Auto Gain"
|
||||||
|
echo "5) Install Laptop speaker preset"
|
||||||
}
|
}
|
||||||
|
|
||||||
install_presets(){
|
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
|
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"
|
sed -i 's/matteo/'"$USER"'/g' "$PRESETS_DIRECTORY/output/Advanced Auto Gain.json"
|
||||||
;;
|
;;
|
||||||
|
5) echo "Installing Laptop preset..."
|
||||||
|
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"
|
||||||
|
;;
|
||||||
|
|
||||||
|
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue