-
Notifications
You must be signed in to change notification settings - Fork 4
/
glitchcam.sh
213 lines (193 loc) · 16.9 KB
/
glitchcam.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
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
c=(
"-el:amp_mono,0 -km:1,0,1,7,1" \
"-el:amp_stereo,0 -km:1,0,1,7,1" \
"-el:lpf,0 -km:1,0,22050,7,1" \
"-el:hpf,0 -km:1,0,22050,7,1" \
"-el:CabinetIV,0,0 -km:1,0,24,7,1 -km:2,-24,24,7,2" \
"-el:delay_5s,0,0 -km:1,0,5,7,1 -km:2,0,1,7,2" \
"-el:Wider,0,0 -km:1,-1,1,7,1 -km:2,0,1,7,2" \
"-el:Narrower,0,0 -km:1,0,1,7,1 -km:2,0,1,7,2" \
"-el:tap_tubewarmth,0,0 -km:1,0,10,7,1 -km:2,-10,10,7,2" \
"-el:tap_sigmoid,0,0 -km:1,-90,20,7,1 -km:2,-90,20,7,2" \
"-el:tap_pinknoise,0,0,0 -km:1,0,1,7,1 -km:2,-90,20,7,2 -km:3,-90,20,7,3" \
"-el:tap_reflector,0,0,0 -km:1,20,1600,7,1 -km:2,-90,20,7,2 -km:3,-90,20,7,3" \
"-el:tap_autopan,0,0,0 -km:1,0,20,7,1 -km:2,0,100,7,2 -km:3,-70,20,7,3" \
"-el:tap_tremolo,0,0,0 -km:1,0,20,7,1 -km:2,0,100,7,2 -km:3,-70,20,7,3" \
"-el:Saturate,0,0,0 -km:1,0,11,7,1 -km:2,-24,72,7,2 -km:3,0,1,7,3" \
"-el:CabinetIII,0,0,0 -km:1,0,16,7,1 -km:2,0,1,7,2 -km:3,-24,24,7,3" \
"-el:tap_limiter,0,0,0 -km:1,-30,20,7,1 -km:2,-30,20,7,2 -km:3,0,1,7,3" \
"-enm:0,0,0,0, -km:1,10,100,7,1 -km:2,0,100,7,2 -km:3,0,100,7,3 -km:4,0,3500,7,4" \
"-etp:0,0,0,0, -km:1,20,100,7,1 -km:2,0,100,7,2 -km:3,0,100,7,3 -km:4,0,3500,7,4" \
"-el:Noisegate,0,0,0,0 -km:1,-60,0,7,1 -km:2,0,5,7,2 -km:3,-80,0,7,3 -km:4,0,100,7,4" \
"-el:ToneStack,0,0,0,0 -km:1,0,8,7,1 -km:2,0,1,7,2 -km:3,0,1,7,3 -km:4,0,1,7,4" \
"-el:Plate,0,0,0,0 -km:1,0,1,7,1 -km:2,0,1,7,2 -km:3,0,1,7,3 -km:4,0,1,7,4" \
"-el:PlateX2,0,0,0,0 -km:1,0,1,7,1 -km:2,0,1,7,2 -km:3,0,1,7,3 -km:4,0,1,7,4" \
"-el:tap_pitch,0,0,0,0 -km:1,-12,12,7,1 -km:2,-50,100,7,2 -km:3,-90,20,7,3 -km:4,-90,20,7,4" \
"-el:tap_rotspeak,0,0,0,0 -km:1,0,30,7,1 -km:2,0,30,7,2 -km:3,0,100,7,3 -km:4,0,1,7,4" \
"-el:Spice,0,0,0,0,0 -km:1,50,400,7,1 -km:2,0,1,7,2 -km:3,0,1,7,3 -km:4,400,5000,7,4 -km:5,0,1,7,5" \
"-el:SpiceX2,0,0,0,0,0 -km:1,50,800,7,1 -km:2,0,1,7,2 -km:3,0,1,7,3 -km:4,400,5000,7,4 -km:5,0,1,7,5" \
"-el:PhaserII,0,0,0,0,0 -km:1,0,1,7,1 -km:2,0,1,7,2 -km:3,0,1,7,3 -km:4,0,1,7,4 -km:5,0,1,7,5" \
"-el:tap_deesser,0,0,0,0,0 -km:1,-50,10,7,1 -km:2,2000,16000,7,2 -km:3,0,1,7,3 -km:4,0,1,7,4 -km:5,0,1,7,5" \
"-el:tap_dynamics_m,0,0,0,0,0 -km:1,4,500,7,1 -km:2,4,1000,7,2 -km:3,-20,20,7,3 -km:4,-20,20,7,4 -km:5,0,14,7,5" \
"-el:tap_vibrato,0,0,0,0,0 -km:1,0,30,7,1 -km:2,0,20,7,2 -km:3,-90,20,7,3 -km:4,-90,20,7,4 -km:5,0,1,7,5" \
"-el:ChorusI,0,0,0,0,0,0 -km:1,2.5,40,7,1 -km:2,0.5,10,7,2 -km:3,0.02,5,7,3 -km:4,0,1,7,4 -km:5,0,1,7,5 -km:6,0,1,7,6" \
"-el:tap_dynamics_st,0,0,0,0,0,0 -km:1,4,500,7,1 -km:2,4,1000,7,2 -km:3,-20,20,7,3 -km:4,-20,20,7,4 -km:5,0,2,7,5 -km:6,0,14,7,6" \
"-el:Scape,0,0,0,0,0,0 -km:1,30,164,7,1 -km:2,2,4,7,2 -km:3,0,1,7,3 -km:4,0,1,7,4 -km:5,0,1,7,5 -km:6,415,467,7,6" \
"-el:AutoFilter,0,0,0,0,0,0,0 -km:1,0,1,7,1 -km:2,0,1,7,2 -km:3,20,3400,7,3 -km:4,0,1,7,4 -km:5,0,1,7,5 -km:6,0,1,7,6 -km:7,0,1,7,7" \
"-el:tap_chorusflanger,0,0,0,0,0,0,0 -km:1,0,5,7,1 -km:2,0,180,7,2 -km:3,0,100,7,3 -km:4,0,100,7,4 -km:5,20,20000,7,5 -km:6,-90,20,7,6 -km:7,-90,20,7,7" \
"-el:tap_doubler,0,0,0,0,0,0,0,0 -km:1,0,1,7,1 -km:2,0,1,7,2 -km:3,-90,20,7,3 -km:4,0,1,7,4 -km:5,0,1,7,5 -km:6,-90,20,7,6 -km:7,0,1,7,7 -km:8,0,1,7,8" \
"-el:Compress,0,0,0,0,0,0,0,0 -km:1,0,1,7,1 -km:2,0,2,7,2 -km:3,0,1,7,3 -km:4,0,1,7,4 -km:5,0,1,7,5 -km:6,0,1,7,6 -km:7,-12,18,7,7 -km:8,-12,18,7,8" \
"-el:tap_reverb,0,0,0,0,0,0,0,0 -km:1,0,10000,7,1 -km:2,-70,10,7,2 -km:3,-70,10,7,3 -km:4,0,1,7,4 -km:5,0,1,7,5 -km:6,0,1,7,6 -km:7,0,1,7,7 -km:8,0,42,7,8" \
"-el:CompressX2,0,0,0,0,0,0,0,0 -km:1,0,1,7,1 -km:2,0,2,7,2 -km:3,0,1,7,3 -km:4,0,1,7,4 -km:5,0,1,7,5 -km:6,0,1,7,6 -km:7,-12,18,7,7 -km:8,-12,18,7,8" \
"-el:Eq10,0,0,0,0,0,0,0,0,0,0 -km:1,-48,24,7,1 -km:2,-48,24,7,2 -km:3,-48,24,7,3 -km:4,-48,24,7,4 -km:5,-48,24,7,5 -km:6,-48,24,7,6 -km:7,-48,24,7,7 -km:8,-48,24,7,8 -km:9,-48,24,7,9 -km:10,-48,24,7,10" \
"-el:Eq10X2,0,0,0,0,0,0,0,0,0,0 -km:1,-48,24,7,1 -km:2,-48,24,7,2 -km:3,-48,24,7,3 -km:4,-48,24,7,4 -km:5,-48,24,7,5 -km:6,-48,24,7,6 -km:7,-48,24,7,7 -km:8,-48,24,7,8 -km:9,-48,24,7,9 -km:10,-48,24,7,10" \
"-el:tap_stereo_echo,0,0,0,0,0,0,0,0,0,0 -km:1,0,2000,7,1 -km:2,0,100,7,2 -km:3,0,2000,7,3 -km:4,0,100,7,4 -km:5,-70,10,7,5 -km:6,-70,10,7,6 -km:7,-70,10,7,7, -km:8,0,1,7,8 -km:9,0,1,7,9 -km:10,0,1,7,10" \
"-el:AmpVTS,0,0,0,0,0,0,0,0,0,0,0 -km:1,0,2,7,1 -km:2,0,1,7,2 -km:3,0,1,7,3 -km:4,0,1,7,4 -km:5,0,8,7,5 -km:6,0,1,7,6 -km:7,0,1,7,7 -km:8,0,1,7,8 -km:9,0,1,7,9 -km:10,0,1,7,10 -km:11,0,1,7,11" \
"-el:tap_equalizer,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 -km:1,-50,20,7,1 -km:2,-50,20,7,2 -km:3,-50,20,7,3 -km:4,-50,20,7,4 -km:5,-50,20,7,5 -km:6,-50,20,7,6 -km:7,-50,20,7,7 -km:8,-50,20,7,8 -km:9,40,280,7,9 -km:10,100,500,7,10 -km:11,200,1000,7,11 -km:12,400,2800,7,12 -km:13,1000,5000,7,13 -km:14,3000,8999.999023,7,14 -km:15,6000,17999.998047,7,15 -km:16,10000,20000,7,16" \
"-el:tap_equalizer_bw,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1 -km:1,-50,20,7,1 -km:2,-50,20,7,2 -km:3,-50,20,7,3 -km:4,-50,20,7,4 -km:5,-50,20,7,5 -km:6,-50,20,7,6 -km:7,-50,20,7,7 -km:8,-50,20,7,8 -km:9,40,280,7,9 -km:10,100,500,7,10 -km:11,200,1000,7,11 -km:12,400,2800,7,12 -km:13,1000,5000,7,13 -km:14,3000,8999.999023,7,14 -km:15,6000,17999.998047,7,15 -km:16,10000,20000,7,16" \
"-el:Eq4p,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 -km:1,0,2,7,1 -km:2,20,14000,7,2 -km:3,0,1,7,3 -km:4,-48,24,7,4 -km:5,0,2,7,5 -km:6,20,14000,7,6 -km:7,0,1,7,7 -km:8,-48,24,7,8 -km:9,0,2,7,9 -km:10,20,14000,7,10 -km:11,0,1,7,11 -km:12,-48,24,7,12 -km:13,0,2,7,13 -km:14,20,14000,7,14 -km:15,0,1,7,15 -km:16,-48,24,7,16 -km:17,0,1,8,1" \
"-el:EqFA4p,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 -km:1,0,1,7,1 -km:2,20,14000,7,2 -km:3,0.125,8,7,3 -km:4,-24,24,7,4 -km:5,0,1,7,5 -km:6,20,14000,7,6 -km:7,0.125,8,7,7 -km:8,-24,24,7,8 -km:9,0,1,7,9 -km:10,20,14000,7,10 -km:11,0.125,8,7,11 -km:12,-24,24,7,12 -km:13,0,1,7,13 -km:14,20,14000,7,14 -km:15,0.125,8,7,15 -km:16,-24,24,7,16 -km:17,-24,24,8,1 -km:18,0,1,8,2" \
)
fx1=$6
d=(
"-el:amp_mono,0 -km:1,0,1,7,9" \
"-el:amp_stereo,0 -km:1,0,1,7,9" \
"-el:lpf,0 -km:1,0,22050,7,9" \
"-el:hpf,0 -km:1,0,22050,7,9" \
"-el:CabinetIV,0,0 -km:1,0,24,7,9 -km:2,-24,24,7,10" \
"-el:delay_5s,0,0 -km:1,0,5,7,9 -km:2,0,1,7,10" \
"-el:Wider,0,0 -km:1,-1,1,7,9 -km:2,0,1,7,10" \
"-el:Narrower,0,0 -km:1,0,1,7,9 -km:2,0,1,7,10" \
"-el:tap_tubewarmth,0,0 -km:1,0,10,7,9 -km:2,-10,10,7,10" \
"-el:tap_sigmoid,0,0 -km:1,-90,20,7,9 -km:2,-90,20,7,10" \
"-el:tap_pinknoise,0,0,0 -km:1,0,1,7,9 -km:2,-90,20,7,10 -km:3,-90,20,7,11" \
"-el:tap_reflector,0,0,0 -km:1,20,1600,7,9 -km:2,-90,20,7,10 -km:3,-90,20,7,11" \
"-el:tap_autopan,0,0,0 -km:1,0,20,7,9 -km:2,0,100,7,10 -km:3,-70,20,7,11" \
"-el:tap_tremolo,0,0,0 -km:1,0,20,7,9 -km:2,0,100,7,10 -km:3,-70,20,7,11" \
"-el:Saturate,0,0,0 -km:1,0,11,7,9 -km:2,-24,72,7,10 -km:3,0,1,7,11" \
"-el:CabinetIII,0,0,0 -km:1,0,16,7,9 -km:2,0,1,7,10 -km:3,-24,24,7,11" \
"-el:tap_limiter,0,0,0 -km:1,-30,20,7,9 -km:2,-30,20,7,10 -km:3,0,1,7,11" \
"-enm:0,0,0,0, -km:1,10,100,7,9 -km:2,0,100,7,10 -km:3,0,100,7,11 -km:4,0,3500,7,12" \
"-etp:0,0,0,0, -km:1,20,100,7,9 -km:2,0,100,7,10 -km:3,0,100,7,11 -km:4,0,3500,7,12" \
"-el:Noisegate,0,0,0,0 -km:1,-60,0,7,9 -km:2,0,5,7,10 -km:3,-80,0,7,11 -km:4,0,100,7,12" \
"-el:ToneStack,0,0,0,0 -km:1,0,8,7,9 -km:2,0,1,7,10 -km:3,0,1,7,11 -km:4,0,1,7,12" \
"-el:Plate,0,0,0,0 -km:1,0,1,7,9 -km:2,0,1,7,10 -km:3,0,1,7,11 -km:4,0,1,7,12" \
"-el:PlateX2,0,0,0,0 -km:1,0,1,7,9 -km:2,0,1,7,10 -km:3,0,1,7,11 -km:4,0,1,7,12" \
"-el:tap_pitch,0,0,0,0 -km:1,-12,12,7,9 -km:2,-50,100,7,10 -km:3,-90,20,7,11 -km:4,-90,20,7,12" \
"-el:tap_rotspeak,0,0,0,0 -km:1,0,30,7,9 -km:2,0,30,7,10 -km:3,0,100,7,11 -km:4,0,1,7,12" \
"-el:Spice,0,0,0,0,0 -km:1,50,400,7,9 -km:2,0,1,7,10 -km:3,0,1,7,11 -km:4,400,5000,7,12 -km:5,0,1,7,13" \
"-el:SpiceX2,0,0,0,0,0 -km:1,50,800,7,9 -km:2,0,1,7,10 -km:3,0,1,7,11 -km:4,400,5000,7,12 -km:5,0,1,7,13" \
"-el:PhaserII,0,0,0,0,0 -km:1,0,1,7,9 -km:2,0,1,7,10 -km:3,0,1,7,11 -km:4,0,1,7,12 -km:5,0,1,7,13" \
"-el:tap_deesser,0,0,0,0,0 -km:1,-50,10,7,9 -km:2,2000,16000,7,10 -km:3,0,1,7,11 -km:4,0,1,7,12 -km:5,0,1,7,13" \
"-el:tap_dynamics_m,0,0,0,0,0 -km:1,4,500,7,9 -km:2,4,1000,7,10 -km:3,-20,20,7,11 -km:4,-20,20,7,12 -km:5,0,14,7,13" \
"-el:tap_vibrato,0,0,0,0,0 -km:1,0,30,7,9 -km:2,0,20,7,10 -km:3,-90,20,7,11 -km:4,-90,20,7,12 -km:5,0,1,7,13" \
"-el:ChorusI,0,0,0,0,0,0 -km:1,2.5,40,7,9 -km:2,0.5,10,7,10 -km:3,0.02,5,7,11 -km:4,0,1,7,12 -km:5,0,1,7,13 -km:6,0,1,7,14" \
"-el:tap_dynamics_st,0,0,0,0,0,0 -km:1,4,500,7,9 -km:2,4,1000,7,10 -km:3,-20,20,7,11 -km:4,-20,20,7,12 -km:5,0,2,7,13 -km:6,0,14,7,14" \
"-el:Scape,0,0,0,0,0,0 -km:1,30,164,7,9 -km:2,2,4,7,10 -km:3,0,1,7,11 -km:4,0,1,7,12 -km:5,0,1,7,13 -km:6,415,467,15,14" \
"-el:AutoFilter,0,0,0,0,0,0,0 -km:1,0,1,7,9 -km:2,0,1,7,10 -km:3,20,3400,7,11 -km:4,0,1,7,12 -km:5,0,1,7,13 -km:6,0,1,7,14 -km:7,0,1,7,15" \
"-el:tap_chorusflanger,0,0,0,0,0,0,0 -km:1,0,5,7,9 -km:2,0,180,7,10 -km:3,0,100,7,11 -km:4,0,100,7,12 -km:5,20,20000,7,13 -km:6,-90,20,7,14 -km:7,-90,20,7,15" \
"-el:tap_doubler,0,0,0,0,0,0,0,0 -km:1,0,1,7,9 -km:2,0,1,7,10 -km:3,-90,20,7,11 -km:4,0,1,7,12 -km:5,0,1,7,13 -km:6,-90,20,7,14 -km:7,0,1,7,15 -km:8,0,1,7,16" \
"-el:Compress,0,0,0,0,0,0,0,0 -km:1,0,1,7,9 -km:2,0,2,7,10 -km:3,0,1,7,11 -km:4,0,1,7,12 -km:5,0,1,7,13 -km:6,0,1,7,14 -km:7,-12,18,7,15 -km:8,-12,18,7,16" \
"-el:tap_reverb,0,0,0,0,0,0,0,0 -km:1,0,10000,7,9 -km:2,-70,10,7,10 -km:3,-70,10,7,11 -km:4,0,1,7,12 -km:5,0,1,7,13 -km:6,0,1,7,14 -km:7,0,1,7,15 -km:8,0,42,7,16" \
"-el:CompressX2,0,0,0,0,0,0,0,0 -km:1,0,1,7,9 -km:2,0,2,7,10 -km:3,0,1,7,11 -km:4,0,1,7,12 -km:5,0,1,7,13 -km:6,0,1,7,14 -km:7,-12,18,7,15 -km:8,-12,18,7,16" \
"-el:Eq10,0,0,0,0,0,0,0,0,0,0 -km:1,-48,24,7,1 -km:2,-48,24,7,2 -km:3,-48,24,7,3 -km:4,-48,24,7,4 -km:5,-48,24,7,5 -km:6,-48,24,7,6 -km:7,-48,24,7,7 -km:8,-48,24,7,8 -km:9,-48,24,7,9 -km:10,-48,24,7,10" \
"-el:Eq10X2,0,0,0,0,0,0,0,0,0,0 -km:1,-48,24,7,1 -km:2,-48,24,7,2 -km:3,-48,24,7,3 -km:4,-48,24,7,4 -km:5,-48,24,7,5 -km:6,-48,24,7,6 -km:7,-48,24,7,7 -km:8,-48,24,7,8 -km:9,-48,24,7,9 -km:10,-48,24,7,10" \
"-el:tap_stereo_echo,0,0,0,0,0,0,0,0,0,0 -km:1,0,2000,7,1 -km:2,0,100,7,2 -km:3,0,2000,7,3 -km:4,0,100,7,4 -km:5,-70,10,7,5 -km:6,-70,10,7,6 -km:7,-70,10,7,7, -km:8,0,1,7,8 -km:9,0,1,7,9 -km:10,0,1,7,10" \
"-el:AmpVTS,0,0,0,0,0,0,0,0,0,0,0 -km:1,0,2,7,1 -km:2,0,1,7,2 -km:3,0,1,7,3 -km:4,0,1,7,4 -km:5,0,8,7,5 -km:6,0,1,7,6 -km:7,0,1,7,7 -km:8,0,1,7,8 -km:9,0,1,7,9 -km:10,0,1,7,10 -km:11,0,1,7,11" \
"-el:tap_equalizer,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 -km:1,-50,20,7,1 -km:2,-50,20,7,2 -km:3,-50,20,7,3 -km:4,-50,20,7,4 -km:5,-50,20,7,5 -km:6,-50,20,7,6 -km:7,-50,20,7,7 -km:8,-50,20,7,8 -km:9,40,280,7,9 -km:10,100,500,7,10 -km:11,200,1000,7,11 -km:12,400,2800,7,12 -km:13,1000,5000,7,13 -km:14,3000,8999.999023,7,14 -km:15,6000,17999.998047,7,15 -km:16,10000,20000,7,16" \
"-el:tap_equalizer_bw,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1 -km:1,-50,20,7,1 -km:2,-50,20,7,2 -km:3,-50,20,7,3 -km:4,-50,20,7,4 -km:5,-50,20,7,5 -km:6,-50,20,7,6 -km:7,-50,20,7,7 -km:8,-50,20,7,8 -km:9,40,280,7,9 -km:10,100,500,7,10 -km:11,200,1000,7,11 -km:12,400,2800,7,12 -km:13,1000,5000,7,13 -km:14,3000,8999.999023,7,14 -km:15,6000,17999.998047,7,15 -km:16,10000,20000,7,16" \
"-el:Eq4p,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 -km:1,0,2,7,1 -km:2,20,14000,7,2 -km:3,0,1,7,3 -km:4,-48,24,7,4 -km:5,0,2,7,5 -km:6,20,14000,7,6 -km:7,0,1,7,7 -km:8,-48,24,7,8 -km:9,0,2,7,9 -km:10,20,14000,7,10 -km:11,0,1,7,11 -km:12,-48,24,7,12 -km:13,0,2,7,13 -km:14,20,14000,7,14 -km:15,0,1,7,15 -km:16,-48,24,7,16 -km:17,0,1,8,1" \
"-el:EqFA4p,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 -km:1,0,1,7,1 -km:2,20,14000,7,2 -km:3,0.125,8,7,3 -km:4,-24,24,7,4 -km:5,0,1,7,5 -km:6,20,14000,7,6 -km:7,0.125,8,7,7 -km:8,-24,24,7,8 -km:9,0,1,7,9 -km:10,20,14000,7,10 -km:11,0.125,8,7,11 -km:12,-24,24,7,12 -km:13,0,1,7,13 -km:14,20,14000,7,14 -km:15,0.125,8,7,15 -km:16,-24,24,7,16 -km:17,-24,24,8,1 -km:18,0,1,8,2" \
)
fx2=$7
#urwelcumfgts;~;
tput setaf 1; echo "
© 𝙸𝚗 𝙼𝚎𝚖𝚘𝚛𝚢 𝚘𝚏, ™
𝚖𝚢 𝚊𝚗𝚞𝚜 ⛇
▄████ ██▓ ██▓▄▄▄█████▓ ▄████▄ ██░ ██ ▄████▄ ▄▄▄ ███▄ ▄███▓
██▒ ▀█▒▓██▒ ▓██▒▓ ██▒ ▓▒▒██▀ ▀█ ▓██░ ██▒▒██▀ ▀█ ▒████▄ ▓██▒▀█▀ ██▒
▒██░▄▄▄░▒██░ ▒██▒▒ ▓██░ ▒░▒▓█ ▄ ▒██▀▀██░▒▓█ ▄ ▒██ ▀█▄ ▓██ ▓██░
░▓█ ██▓▒██░ ░██░░ ▓██▓ ░ ▒▓▓▄ ▄██▒░▓█ ░██ ▒▓▓▄ ▄██▒░██▄▄▄▄██ ▒██ ▒██
░▒▓███▀▒░██████▒░██░ ▒██▒ ░ ▒ ▓███▀ ░░▓█▒░██▓▒ ▓███▀ ░ ▓█ ▓██▒▒██▒ ░██▒
░▒ ▒ ░ ▒░▓ ░░▓ ▒ ░░ ░ ░▒ ▒ ░ ▒ ░░▒░▒░ ░▒ ▒ ░ ▒▒ ▓▒█░░ ▒░ ░ ░
░ ░ ░ ░ ▒ ░ ▒ ░ ░ ░ ▒ ▒ ░▒░ ░ ░ ▒ ▒ ▒▒ ░░ ░ ░
░ ░ ░ ░ ░ ▒ ░ ░ ░ ░ ░░ ░░ ░ ▒ ░ ░
░ ░ ░ ░ ░ ░ ░ ░ ░░ ░ ░ ░ ░
░ ░
𝙼𝙸𝙳𝙸-𝙲𝚘𝚗𝚝𝚛𝚘𝚕𝚕𝚊𝚋𝚕𝚎, 𝚁𝚎𝚊𝚕-𝚃𝚒𝚖𝚎 𝚆𝚎𝚋𝚌𝚊𝚖/𝚅𝚒𝚍𝚎𝚘𝚜𝚝𝚛𝚎𝚊𝚖 𝙼𝚞𝚕𝚝𝚒-𝙲𝚑𝚊𝚗𝚗𝚎𝚕 𝚂𝚘𝚗𝚒𝚏𝚒𝚌𝚊𝚝𝚒𝚘𝚗 𝚟𝚒𝚊 𝙵𝙵𝚖𝚙𝚎𝚐, 𝙴𝚌𝚊𝚜𝚘𝚞𝚗𝚍, 𝙻𝙰𝙳𝚂𝙿𝙰 𝚙𝚕𝚞𝚐𝚒𝚗𝚜, 𝚁𝚘𝚜𝚎𝚐𝚊𝚛𝚍𝚎𝚗 𝚊𝚗𝚍 𝙵𝙵𝚙𝚕𝚊𝚢.
"
tput setaf 4; echo "
Syntax: ./glitchcam WIDTHxHEIGTH colorspace audiosamplerate ffaudioformat ecaaudioformat fx1=n fx2=n"
echo
tput smul; echo " e.g. ./glitchcam 640x360 xyz12le 44100 mulaw 16 fx1=17 fx2=36"
tput rmul;
echo
echo
tput setaf 4; echo "
Available colorspaces (example; for all formats run 'ffmpeg -pix_fmts'):"
tput setaf 2; echo "
0bgr argb yuv420p yuv444p xyz12le
gbrap monob nv12 gray rgba
rgb48be ya8 rgb48be p010le yuva420p10le
"
tput setaf 4; echo "
Available audio formats:"
tput setaf 2; echo "
alaw mulaw s32be u24be
f32be s16be s32le u24le
f32le s16le s8 u32be
f64be s24be u16be u32le
f64le s24le u16le u8
"
tput setaf 4; echo "
Effects:"
tput setaf 3; echo "
(Effects on channel 1 range from sliders 1-8; on channel 2 from 9-16. If effect has more than 8 params, use it on its own on both channels)"
tput setaf 2; echo "
0. amp_mono (1 param) 10. tap_pinknoise (3 params) 20. ToneStack (4 params)
1. amp_stereo (1 param) 11. tap_reflector (3 params) 21. Plate (4 params)
2. lpf (1 param) 12. tap_autopan (3 params) 22. PlateX2 (4 params)
3. hpf (1 param) 13. tap_tremolo (3 params) 23. tap_pitch (4 params)
4. CabinetIV (2 params) 14. Saturate (3 params) 24. tap_rotspeak (4 params)
5. delay_5s (2 params) 15. CabinetIII (3 params) 25. Spice (5 params)
6. Wider (2 params) 16. tap_limiter (3 params) 26. SpiceX2 (5 params)
7. Narrower (2 params) 17. enm (4 params) 27. PhaserII (5 params)
8. tap_tubewarmth (2 params) 18. etp (4 params) 28. tap_deesser (5 params)
9. tap_sigmoid (2 params) 19. Noisegate (4 params) 29. tap_dynamics_m (5 params)
30. tap_vibrato (5 params) 40. Eq10 (10 params)
31. ChorusI (6 params) 41. Eq10X2 (10 params)
32. tap_dynamics_st (6 params) 42. tap_stereo_echo (10 params)
33. Scape (6 params) 43. AmpVTS (11 params)
34. AutoFilter (7 params) 44. tap_equalizer (11 params)
35. tap_chorusflanger (7 params) 45. tap_equalizer_bw (16 params)
36. tap_doubler (8 params) 46. Eq4p (16 params)
37. Compress (8 params) 47. EqFA4p (18 params)
38. tap_reverb (8 params)
39. CompressX2 (8 params)
"
tput setaf 3; echo "
Tidbits of Semi-Valuable Informations:"
tput setaf 3; echo "
Try to use CTRL+C in the terminal to kill the script.
If your webcam stays on you may have to manually kill hanging ffmpeg instances after closing the script with 'killall -s SIGKILL ffmpeg'."
tput setaf 6;
tput smso; echo "
You used: '$1 $2 $3 $4 $5 $fx1 $fx2'
";
tput sgr0
tput setaf 0; echo "Feed me memes."
tput setaf 0; echo "Matheus is homosex."
tput setaf 0; echo "Pandela was here."
mkfifo fifo1
mkfifo fifo2
mkfifo fifo3
mkfifo fifo4
wait
ffmpeg -loglevel quiet -r 25 -f v4l2 -framerate 25 -video_size 1024x576 -i /dev/video0 -f rawvideo -vcodec rawvideo -s $1 -pix_fmt $2 -r 25 - |
ecasound -a:1,2 -f:$5,1,$3 -i:stdin -Md:alsaseq,14:0 \
-a:1 -f:$5,1,$3 -o:typeselect,raw,fifo1,raw ${c[$fx1]} \
-a:2 -f:$5,1,$3 -o:typeselect,raw,fifo2,raw ${d[$fx2]} |
#try using the amerge filter if you're using more than two channels in ecasound
ffmpeg -loglevel quiet -f $4 -ar $3 -ac 1 -i fifo2 -f $4 -ar $3 -ac 1 -i fifo1 -filter_complex "[0:a][1:a]amix" -f $4 -ar $3 -ac 1 pipe:1 > fifo4 |
ffplay -f rawvideo -vcodec rawvideo -pix_fmt $2 -s $1 -i fifo4 -loglevel quiet
killall -s SIGKILL ffmpeg