-
Notifications
You must be signed in to change notification settings - Fork 0
/
autobuild.sh
executable file
·48 lines (40 loc) · 899 Bytes
/
autobuild.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
set -Eeuo pipefail
log() {
echo ">>> $*"
}
build_and_run() {
log Building...
make
log Sending to minilogue...
./logue-sdk/tools/logue-cli/logue-cli-linux64-0.07-2b/logue-cli load -i 2 -o 2 -s 0 -u phosc.mnlgxdunit
log Refreshing the multi-engine
amidi -p hw:1,0,1 -S "B06708"
amidi -p hw:1,0,1 -S "B06700"
sleep 2
log Playing a sample tune
amidi -p hw:1,0,1 -S "903E7F"
sleep .3
amidi -p hw:1,0,1 -S "803E40"
sleep .3
amidi -p hw:1,0,1 -S "90427F"
sleep .3
amidi -p hw:1,0,1 -S "804240"
sleep .3
amidi -p hw:1,0,1 -S "90457F"
sleep .3
amidi -p hw:1,0,1 -S "804540"
sleep .5
amidi -p hw:1,0,1 -S "903E7F"
sleep .1
amidi -p hw:1,0,1 -S "90427F"
sleep .1
amidi -p hw:1,0,1 -S "90457F"
sleep 2
amidi -p hw:1,0,1 -S "804240"
sleep .1
amidi -p hw:1,0,1 -S "803E40"
sleep .1
amidi -p hw:1,0,1 -S "804540"
sleep .1
}
build_and_run