summaryrefslogtreecommitdiff
path: root/gr-vocoder/grc/vocoder_cvsd_encode.block.yml
diff options
context:
space:
mode:
Diffstat (limited to 'gr-vocoder/grc/vocoder_cvsd_encode.block.yml')
-rw-r--r--gr-vocoder/grc/vocoder_cvsd_encode.block.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/gr-vocoder/grc/vocoder_cvsd_encode.block.yml b/gr-vocoder/grc/vocoder_cvsd_encode.block.yml
new file mode 100644
index 0000000000..ab3f43c17f
--- /dev/null
+++ b/gr-vocoder/grc/vocoder_cvsd_encode.block.yml
@@ -0,0 +1,26 @@
+id: vocoder_cvsd_encode_fb
+label: CVSD Encoder
+
+parameters:
+- id: resample
+ label: Resample
+ dtype: int
+ default: '8'
+- id: bw
+ label: Frac. Bandwidth
+ dtype: real
+ default: '0.5'
+
+inputs:
+- domain: stream
+ dtype: float
+
+outputs:
+- domain: stream
+ dtype: byte
+
+templates:
+ imports: from gnuradio import vocoder
+ make: vocoder.cvsd_encode_fb(${resample},${bw})
+
+file_format: 1