summaryrefslogtreecommitdiff
path: root/gr-analog/grc/analog_standard_squelch.block.yml
blob: d753dfaf01e15765ba6a91cf4d6e7b96230968be (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
id: analog_standard_squelch
label: Standard Squelch

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