Repository navigation
Expand file tree
/
Copy pathDOTHING.F
More file actions
executable file
·106 lines (95 loc) · 2.33 KB
/
Copy pathDOTHING.F
File metadata and controls
executable file
·106 lines (95 loc) · 2.33 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
\ $Workfile: dothing.f $
\
\ weird music
\
\ $Revision: 1.3 $
needs b0b b0b.f
needs __SYNTH110 synth110.f
needs __VOLUME volume.f
Forth
ifdef __DOTHING forget __DOTHING
ifend
create __DOTHING .( loading dothing.f ...) cr
quan its
pquan bottom
:ap ?hesitate ( -- )
brnd
if brnd
if 1|147 time-advance ped
else ped 1|127 time-advance
then
then
;ap
:ap wha ( n -- )
to bottom
/1 bottom $ /4
its 3 + 3
do ?hesitate
?ChangeVolume
[ forth ] i [ b0b ] \ i may be a minor chord!
3 / 36 irnd
over / * dup
if bottom + dup
39 = over 52 = or \ avoiding chinese cymbal
if drop pedon$ \ and hand claps in drumChannel
else $
then
else drop brnd
if bottom $
else pedon$
then
then
loop
/1 bottom $
ped
;ap
:ap thing
::ap chordChannel vib.3 pedon
/12 rest
0 50 SetVolumeRange
41 ( f2) wha
;;ap
::ap chordChannel vib.3 pedon
/16 rest rest rest
0 50 SetVolumeRange
43 ( g2) wha
;;ap
::ap bassChannel ac.bass
20 100 SetVolumeRange
33 ( a1) wha
;;ap
::ap melodyChannel a.piano.9 pedon
-10 50 SetVolumeRange
\ 1|16 time-advance
41 ( f2) wha pedoff
;;ap
::ap melodyChannel a.piano.9 pedon
-10 50 SetVolumeRange
\ 3|16 time-advance
48 ( c3) wha pedoff
;;ap
::ap drumChannel drums
40 90 SetVolumeRange
1|8 time-advance
38 ( snare drum 1) wha
;;ap
drumChannel drums pedon
20 80 SetVolumeRange
5|32 time-advance
\ 69 ( cabasa) wha
36 ( bass drum 2) wha
1|32 time-advance
;ap
:ap SetDothing
2 U$patch \ patch #3 is all set up for this on my U-110
;ap
:ap DoThing
::ap 36 to its thing \ 3
72 to its thing \ 6
24 to its thing \ 2
96 to its thing \ 8
12 to its thing \ 1
1 to its thing
;;ap
;ap
formula SetDothing