summaryrefslogtreecommitdiff
path: root/gr-analog/grc
diff options
context:
space:
mode:
Diffstat (limited to 'gr-analog/grc')
-rw-r--r--gr-analog/grc/analog_pwr_squelch_xx.block.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/gr-analog/grc/analog_pwr_squelch_xx.block.yml b/gr-analog/grc/analog_pwr_squelch_xx.block.yml
index 310b61d509..af58b60dec 100644
--- a/gr-analog/grc/analog_pwr_squelch_xx.block.yml
+++ b/gr-analog/grc/analog_pwr_squelch_xx.block.yml
@@ -53,4 +53,18 @@ cpp_templates:
True: true
False: false
+documentation: |-
+ This will either pass the input unchanged or block it, depending on
+ whether its envelope is over a certain threshold. The envelope is calculated
+ by taking the squared magnitude of the signal and lowpassing it with a
+ single pole IIR filter (with the specified alpha).
+
+ The ramp parameter specifies the attack / release time, in samples.
+ A sinusodial ramp is used to progressively mute / unmute the input.
+ If ramp is set to 0, input is muted / unmuted without a ramp.
+
+ For realtime applications you'll want to set the gate parameter to
+ false, which produces zeros when the input is muted. If it is true,
+ the block will stop producing samples when in muted state.
+
file_format: 1