-
Notifications
You must be signed in to change notification settings - Fork 2
/
norns.yaml
54 lines (54 loc) · 2.15 KB
/
norns.yaml
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
session_name: norns
suppress_history: false
windows:
- window_name: norns
layout: even-vertical
panes:
- shell_command:
- sudo /etc/init.d/dbus start
- sudo chown -R we:we /home/we/dust
# Extract buffer from the container and display:
# docker cp norns-test-dummy:/tmp/Xvfb_screen0 . && xwud -in Xvfb_screen0
- Xvfb :0 -screen 0 1280x640x16 -fbdir /tmp &
# Serve static display
- cd /home/we/
# - /usr/local/go/bin/go mod init github.com/schollz/test1
# - /usr/local/go/bin/go mod tidy
- /usr/local/go/bin/go run oled-server.go -window-name 'matron' -port 8889
# Connect vnc server to the display
- export DISPLAY=:0
- x11vnc -forever
- shell_command:
- export JACK_NO_START_SERVER=1
- export JACK_NO_AUDIO_RESERVATION=1
- jackd -V
- $(cat /etc/jackdrc)
- shell_command:
- cd /home/we/norns
- sleep 0.5
- /home/we/norns/build/crone/crone
- shell_command:
- cd /home/we/norns/sc
- timeout 0.5 /home/we/norns/build/ws-wrapper/ws-wrapper ws://*:5556 /usr/local/bin/sclang -i maiden
- ./install.sh
- 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
- shell_command:
- sleep 6
- export DISPLAY=:0
- cd /home/we/norns
- /home/we/norns/build/ws-wrapper/ws-wrapper ws://*:5555 /home/we/norns/build/matron/matron
- shell_command:
- sleep 0.5
- icecast2 -c /etc/icecast2/icecast.xml &
- sleep 0.5
- darkice -c /etc/darkice.cfg &
- sleep 0.5
- jack_connect crone:output_1 darkice:left
- jack_connect crone:output_2 darkice:right
- shell_command:
- cd /home/we/maiden
- sleep 2
# The following command is from ~/maiden/start.sh
- ./maiden server --app ./app/build --data ~/dust --doc ~/norns/doc