-
Notifications
You must be signed in to change notification settings - Fork 2
/
start_norns.sh
executable file
·34 lines (32 loc) · 1.08 KB
/
start_norns.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
#/bin/bash
export DISPLAY=:0
export JACK_NO_START_SERVER=1
export JACK_NO_AUDIO_RESERVATION=1
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib64/
sudo /etc/init.d/dbus start
sudo chown -R we:we /home/we/dust
Xvfb :0 -screen 0 1280x640x16 -fbdir /tmp &
sleep 0.5
cd /home/we/ && LOGGER=info /usr/local/go/bin/go run oled-server.go -window-name 'matron' -port 8889 &
sleep 0.5
jackd -V
$(cat /etc/jackdrc) &
sleep 0.5
/home/we/norns/build/crone/crone &
cd /home/we/norns/sc
sleep 0.5
timeout 0.5 /home/we/norns/build/ws-wrapper/ws-wrapper ws://*:5556 /usr/local/bin/sclang -i maiden
sleep 0.5
/home/we/norns/build/ws-wrapper/ws-wrapper ws://*:5556 /usr/local/bin/sclang -i maiden &
sleep 0.5
/home/we/norns/build/ws-wrapper/ws-wrapper ws://*:5555 /home/we/norns/build/matron/matron &
sleep 0.5
cd /home/we/maiden && ./maiden server --app ./app/build --data ~/dust --doc ~/norns/doc &
sleep 0.5
icecast2 -c /etc/icecast2/icecast.xml &
sleep 0.5
darkice -c /etc/darkice.cfg &
sleep 0.25
jack_connect crone:output_1 darkice:left
jack_connect crone:output_2 darkice:right
tail -f /dev/null # stay alive