-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapt_audio_base.sh
executable file
·62 lines (55 loc) · 1.29 KB
/
apt_audio_base.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#! /usr/bin/env bash
set -e
echo "Defining LOGFILE"
mkdir --parents "$PWD/Logs"
export LOGFILE="$PWD/Logs/apt_audio_base.log"
rm --force $LOGFILE
echo ""
echo ""
echo "Installing 'jackd2'. There appears to be no way to keep"
echo "it from configuring the realtime process priority"
echo "option when the install runs in the background."
echo ""
echo "The default of 'No' is safest; if you want to experiment"
echo "with realtime priority later, you can change it by running"
echo ""
echo " sudo dpkg-reconfigure jackd2"
echo ""
sleep 10
export DEBIAN_FRONTEND=noninteractive
/usr/bin/time sudo apt-get install -qqy --no-install-recommends jackd2
echo ""
echo "Adding $USER to the 'audio' group"
sudo usermod -aG audio $USER
echo "Installing base audio packages"
/usr/bin/time sudo apt-get install --assume-yes --no-install-recommends \
alsa-utils \
audacity \
ffmpeg \
flac \
fluid-soundfont-gm \
fluid-soundfont-gs \
fluidsynth \
freepats \
iannix \
jack-tools \
libasound2-dev \
libasound2-plugins \
libjack-jackd2-dev \
libpulse-dev \
libsndfile1-dev \
libsox-fmt-all \
libsoxr0 \
mp3splt \
pipewire \
polyphone \
pulseaudio \
pulseaudio-utils \
qjackctl \
sf3convert \
sndfile-tools \
sox \
timidity \
wireplumber-doc \
>> $LOGFILE 2>&1
echo "Finished"