summaryrefslogtreecommitdiff
path: root/gr-analog/grc/analog_standard_squelch.block.yml
blob: f51e245152dcc13a39d5f2b3b11464ff8c1332f3 (plain)
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
id: analog_standard_squelch
label: Standard Squelch
flags: [ python ]

parameters:
-   id: audio_rate
    label: Audio Rate
    dtype: real
-   id: threshold
    label: Threshold
    dtype: real

inputs:
-   domain: stream
    dtype: float

outputs:
-   domain: stream
    dtype: float

templates:
    imports: from gnuradio import analog
    make: |-
        analog.standard_squelch(audio_rate=${audio_rate})
        self.${id}.set_threshold(${threshold})
    callbacks:
    - set_threshold(${threshold})

file_format: 1