Midi files

This commit is contained in:
Mylloon 2023-05-03 19:17:35 +02:00
parent 94efe33663
commit 7dab0aac68
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 12 additions and 1 deletions

View file

@ -387,6 +387,14 @@ main() {
updated_config_discord="$(< "$path_config_discord" jq '. + { "SKIP_HOST_UPDATE": true }')" updated_config_discord="$(< "$path_config_discord" jq '. + { "SKIP_HOST_UPDATE": true }')"
echo "$updated_config_discord" > "$path_config_discord" echo "$updated_config_discord" > "$path_config_discord"
# === Midi files ==
sudo gpasswd -a "$USER" audio
{
echo "soundfont /usr/share/soundfonts/freepats-general-midi.sf2"
echo "soundfont /usr/share/soundfonts/FluidR3_GS.sf22"
echo "soundfont /usr/share/soundfonts/FluidR3_GM.sf22"
} | sudo tee -a /etc/timidity/timidity.cfg > /dev/null
echo -e "\nInstallation terminée.\nIl faut redémarrer l'ordinateur." echo -e "\nInstallation terminée.\nIl faut redémarrer l'ordinateur."
} }

View file

@ -117,7 +117,10 @@
"otf-fira-sans", "otf-fira-sans",
"ttf-fira-code", "ttf-fira-code",
"otf-fira-mono", "otf-fira-mono",
"otf-font-awesome" "otf-font-awesome",
"timidity++",
"freepats-general-midi",
"soundfont-fluid"
], ],
"plugin": null, "plugin": null,
"profile": { "profile": {