-
Notifications
You must be signed in to change notification settings - Fork 0
/
s4.chops
65 lines (59 loc) · 1.83 KB
/
s4.chops
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
/*
S1 Test Program
*/
bgn "s1" // Begin of Program "s1"
bpm 178.0 // Set sequencer BPM
sig 8,8 // Set sequencer TimeSignature
sel a1 // select a1 as current context/setup/..? TODO: find suiting name
ld "indy-alarm.wav" // Load audio.wav into current workspace
fit 1.0
stop
sel a2 // select a1 as current context/setup/..? TODO: find suiting name
ld "audio.wav" // Load audio.wav into current workspace
fit 1.0
sig 11,8 // Set sequencer TimeSignature
mrk as,0.0
stop
sel a1
set eight,1.0/8.0
mrk mst,0.0
mrk m1,eight
mrk m2,2.0*eight
mrk m3,3.0*eight
mrk m4,4.0*eight
mrk m5,5.0*eight
mrk m6,6.0*eight
mrk m7,7.0*eight
srst
set cx,7
start:
sel a1
playf ms
wait 0:1:0
playf m1
wait 0:1:0
playf m2
wait 0:1:0
playf m2
wait 0:1:0
playf m5
wait 0:1:0
playf m5
wait 0:1:0
playb m3
wait 0:1:0
playf m7
wait 0:1:0
playf m2
wait 0:1:0
playf m4
wait 0:1:0
playf m6
wait 0:1:0
stop
sel a2
playf as
wait 1:0:0
jdnz cx, start
h: // label
hlt // halt program execution