summaryrefslogtreecommitdiff
path: root/gr-vocoder/grc/vocoder_freedv_rx_ss.block.yml
blob: 4b486d41cb3204de68160ad51d8d30ef9772990b (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
30
31
32
33
id: vocoder_freedv_rx_ss
label: FreeDV demodulator

parameters:
-   id: mode
    label: Operating Mode
    dtype: int
    default: freedv_api.MODE_1600
    options: [freedv_api.MODE_1600, freedv_api.MODE_700, freedv_api.MODE_700B, freedv_api.MODE_2400A,
        freedv_api.MODE_2400B, freedv_api.MODE_800XA]
    option_labels: ['1600', '700', 700B, 2400A, 2400B, 800XA]
-   id: squelch_thresh
    label: Squelch Threshold
    dtype: float
    default: '-100.0'

inputs:
-   domain: stream
    dtype: short

outputs:
-   domain: stream
    dtype: short

templates:
    imports: |-
        from gnuradio import vocoder
        from gnuradio.vocoder import freedv_api
    make: vocoder.freedv_rx_ss(${mode},${squelch_thresh})
    callbacks:
    - set_squelch_thresh(${squelch_thresh})

file_format: 1