-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathctf_mix.grc
373 lines (370 loc) · 7.88 KB
/
ctf_mix.grc
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
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
options:
parameters:
author: ''
catch_exceptions: 'True'
category: '[GRC Hier Blocks]'
cmake_opt: ''
comment: ''
copyright: ''
description: ''
gen_cmake: 'On'
gen_linking: dynamic
generate_options: no_gui
hier_block_src_path: '.:'
id: ctf_mix
max_nouts: '0'
output_language: python
placement: (0,0)
qt_qss_theme: ''
realtime_scheduling: ''
run: 'True'
run_command: '{python} -u {filename}'
run_options: run
sizing_mode: fixed
thread_safe_setters: ''
title: Not titled yet
window_size: (1000,1000)
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [8, 8]
rotation: 0
state: enabled
blocks:
- name: samp_rate
id: variable
parameters:
comment: ''
value: '48000'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [248, 72.0]
rotation: 0
state: enabled
- name: blocks_add_xx_0
id: blocks_add_xx
parameters:
affinity: ''
alias: ''
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
num_inputs: '2'
type: float
vlen: '1'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [352, 220.0]
rotation: 0
state: true
- name: blocks_add_xx_1
id: blocks_add_xx
parameters:
affinity: ''
alias: ''
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
num_inputs: '2'
type: float
vlen: '1'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [384, 452.0]
rotation: 0
state: true
- name: blocks_add_xx_2
id: blocks_add_xx
parameters:
affinity: ''
alias: ''
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
num_inputs: '2'
type: float
vlen: '1'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [352, 572.0]
rotation: 0
state: true
- name: blocks_add_xx_3
id: blocks_add_xx
parameters:
affinity: ''
alias: ''
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
num_inputs: '3'
type: complex
vlen: '1'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [1000, 732.0]
rotation: 180
state: true
- name: blocks_complex_to_float_0
id: blocks_complex_to_float
parameters:
affinity: ''
alias: ''
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
vlen: '1'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [696, 748.0]
rotation: 180
state: true
- name: blocks_float_to_complex_1
id: blocks_float_to_complex
parameters:
affinity: ''
alias: ''
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
vlen: '1'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [640, 252.0]
rotation: 0
state: true
- name: blocks_float_to_complex_1_0
id: blocks_float_to_complex
parameters:
affinity: ''
alias: ''
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
vlen: '1'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [640, 404.0]
rotation: 0
state: true
- name: blocks_float_to_complex_1_1
id: blocks_float_to_complex
parameters:
affinity: ''
alias: ''
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
vlen: '1'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [632, 532.0]
rotation: 0
state: true
- name: blocks_rotator_cc_0
id: blocks_rotator_cc
parameters:
affinity: ''
alias: ''
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
phase_inc: 3.14159 / 4
tag_inc_update: 'False'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [944, 408.0]
rotation: 0
state: true
- name: blocks_rotator_cc_0_0
id: blocks_rotator_cc
parameters:
affinity: ''
alias: ''
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
phase_inc: -3.14159 / 4
tag_inc_update: 'False'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [936, 536.0]
rotation: 0
state: true
- name: blocks_rotator_cc_0_1
id: blocks_rotator_cc
parameters:
affinity: ''
alias: ''
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
phase_inc: '0'
tag_inc_update: 'False'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [944, 256.0]
rotation: 0
state: true
- name: blocks_sub_xx_0
id: blocks_sub_xx
parameters:
affinity: ''
alias: ''
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
num_inputs: '2'
type: float
vlen: '1'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [352, 300.0]
rotation: 0
state: true
- name: blocks_wavfile_sink_3
id: blocks_wavfile_sink
parameters:
affinity: ''
alias: ''
append: 'False'
bits_per_sample1: FORMAT_PCM_16
bits_per_sample2: FORMAT_PCM_16
bits_per_sample3: FORMAT_VORBIS
bits_per_sample4: FORMAT_PCM_16
comment: ''
file: Signal.wav
format: FORMAT_WAV
nchan: '2'
samp_rate: samp_rate
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [360, 656.0]
rotation: 180
state: true
- name: blocks_wavfile_source_0
id: blocks_wavfile_source
parameters:
affinity: ''
alias: ''
comment: ''
file: Flag1.wav
maxoutbuf: '0'
minoutbuf: '0'
nchan: '1'
repeat: 'False'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [16, 180.0]
rotation: 0
state: true
- name: blocks_wavfile_source_1
id: blocks_wavfile_source
parameters:
affinity: ''
alias: ''
comment: ''
file: Flag2.wav
maxoutbuf: '0'
minoutbuf: '0'
nchan: '1'
repeat: 'False'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [16, 292.0]
rotation: 0
state: true
- name: blocks_wavfile_source_2
id: blocks_wavfile_source
parameters:
affinity: ''
alias: ''
comment: ''
file: Flag3.wav
maxoutbuf: '0'
minoutbuf: '0'
nchan: '1'
repeat: 'False'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [16, 412.0]
rotation: 0
state: enabled
- name: blocks_wavfile_source_3
id: blocks_wavfile_source
parameters:
affinity: ''
alias: ''
comment: ''
file: Flag4.wav
maxoutbuf: '0'
minoutbuf: '0'
nchan: '1'
repeat: 'False'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [16, 532.0]
rotation: 0
state: enabled
connections:
- [blocks_add_xx_0, '0', blocks_add_xx_1, '0']
- [blocks_add_xx_0, '0', blocks_float_to_complex_1, '0']
- [blocks_add_xx_1, '0', blocks_float_to_complex_1_0, '0']
- [blocks_add_xx_2, '0', blocks_float_to_complex_1_1, '0']
- [blocks_add_xx_3, '0', blocks_complex_to_float_0, '0']
- [blocks_complex_to_float_0, '0', blocks_wavfile_sink_3, '0']
- [blocks_complex_to_float_0, '1', blocks_wavfile_sink_3, '1']
- [blocks_float_to_complex_1, '0', blocks_rotator_cc_0_1, '0']
- [blocks_float_to_complex_1_0, '0', blocks_rotator_cc_0, '0']
- [blocks_float_to_complex_1_1, '0', blocks_rotator_cc_0_0, '0']
- [blocks_rotator_cc_0, '0', blocks_add_xx_3, '1']
- [blocks_rotator_cc_0_0, '0', blocks_add_xx_3, '0']
- [blocks_rotator_cc_0_1, '0', blocks_add_xx_3, '2']
- [blocks_sub_xx_0, '0', blocks_add_xx_2, '0']
- [blocks_sub_xx_0, '0', blocks_float_to_complex_1, '1']
- [blocks_wavfile_source_0, '0', blocks_add_xx_0, '0']
- [blocks_wavfile_source_0, '0', blocks_sub_xx_0, '0']
- [blocks_wavfile_source_1, '0', blocks_add_xx_0, '1']
- [blocks_wavfile_source_1, '0', blocks_sub_xx_0, '1']
- [blocks_wavfile_source_2, '0', blocks_add_xx_1, '1']
- [blocks_wavfile_source_3, '0', blocks_add_xx_2, '1']
metadata:
file_format: 1
grc_version: 3.10.7.0