-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
executable file
·72 lines (62 loc) · 1.95 KB
/
Copy pathinstall.sh
File metadata and controls
executable file
·72 lines (62 loc) · 1.95 KB
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
63
64
65
66
67
68
69
70
71
72
#!/usr/bin/env bash
# AudioMIX / Juniper2.0 Installation Script
# Modular AI Music Production Framework
echo "🎚️ Setting up AudioMIX environment..."
sleep 1
# Step 1: System updates
echo "🔧 Updating system pacakages..."
sudo apt-get update -y && sudo apt-get upgrade -y
# Step 2: Core dependencies
echo "📥 Installing system-level libraries..."
sudo apt-get install -y \
build-essential \
python3-dev python3-pip python3-venv \
libasound2 libasound2-dev \
portaudio19-dev \
libportaudio2 \
libportaudiocpp0 \
ffmpeg \
alsa-utils \
git \
curl
# Step 3: Python virtual environment (AudioMIX environment)
if [ ! -d "amenv" ]; then
echo "🎧 Creating AudioMIX virtual environment..."
python3 -m venv amenv
else
echo "🎧 Virtual environment 'amenv' already exists."
fi
echo "⚙️ Activating environment..."
source amenv/bin/activate
# Step 4: Upgrade pip & wheel
pip install --upgrade pip wheel setuptools
# Step 5: Install Python requirements
echo "📦 Installing Python packages..."
if [ -f "requirements.txt" ]; then
pip install -r requirements.txt
else
echo "⚠️ requirements.txt not found! Please make sure it exists in the project root."
exit 1
fi
# Step 6: Verify key installs
echo "✅ Verifying installation..."
python3 - <<'PY'
import sys, torch, librosa
try:
import sounddevice, alsaaudio
print("Python:", sys.version)
print("Torch:", torch.__version__)
print("Librosa:", librosa.__version__)
print("SoundDevice:", hasattr(sounddevice, "query_devices"))
print("ALSA:", hasattr(alsaaudio, "PCM"))
except Exception as e:
print("⚠️ Verification warning:", e)
PY
# Step 7: Post-install message
echo ""
echo "🎵 AudioMIX installation complete!"
echo "To activate your environment later, run:"
echo " source amenv/bin/activate"
echo ""
echo "You're ready to train Juniper2.0 and start performing!"
echo "🎛️ Happy mixing! - 🌐 AMV Digital Studios"