diff options
Diffstat (limited to 'gr-analog/grc/analog_wfm_tx.block.yml')
-rw-r--r-- | gr-analog/grc/analog_wfm_tx.block.yml | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/gr-analog/grc/analog_wfm_tx.block.yml b/gr-analog/grc/analog_wfm_tx.block.yml new file mode 100644 index 0000000000..1e4346c41d --- /dev/null +++ b/gr-analog/grc/analog_wfm_tx.block.yml @@ -0,0 +1,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 |