summaryrefslogtreecommitdiff
path: root/gr-analog/grc/analog_wfm_tx.block.yml
blob: 1e4346c41d5ca90bf31cee976dfbf357f59a2da5 (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
34
35
36
37
38
39
40
id: analog_wfm_tx
label: WBFM Transmit

parameters:
-   id: audio_rate
    label: Audio Rate
    dtype: int
-   id: quad_rate
    label: Quadrature Rate
    dtype: int
-   id: tau
    label: Tau
    dtype: real
    default: 75e-6
-   id: max_dev
    label: Max Deviation
    dtype: real
    default: 75e3
-   id: fh
    label: Preemphasis High Corner Freq
    dtype: real
    default: '-1.0'

inputs:
-   domain: stream
    dtype: float

outputs:
-   domain: stream
    dtype: complex

asserts:
- ${ (quad_rate)%(audio_rate) == 0 }

templates:
    imports: from gnuradio import analog
    make: "analog.wfm_tx(\n\taudio_rate=${audio_rate},\n\tquad_rate=${quad_rate},\n\
        \ttau=${tau},\n\tmax_dev=${max_dev},\n\tfh=${fh},\n)"

file_format: 1