high performance Automatic Gain Control class
For Power the absolute value of the complex number is used.
high performance Automatic Gain Control class
Power is approximated by absolute value
high performance Automatic Gain Control class
For Power the absolute value of the complex number is used.
high performance Automatic Gain Control class
Power is approximated by absolute value
gate or zero output if ctcss tone not present
Detect the peak of a signal
If a peak is detected, this block outputs a 1, or it outputs 0’s.
Non-causal AGC which computes required gain based on max absolute value over nsamples.
Detect the peak of a signal
If a peak is detected, this block outputs a 1, or it outputs 0’s. A separate debug output may be connected, to view the internal EWMA described below.
Parameters: |
|
---|
Get the alpha value of the running average.
Get the look-ahead factor value.
Set the running average alpha.
Set the look-ahead factor.
Set the threshold factor value for the rise time.
Get the threshold factor value for the rise time.
gate or zero output when input power below threshold
gate or zero output when input power below threshold
Detect the peak of a signal and repeat every period samples
If a peak is detected, this block outputs a 1 repeated every period samples until reset by detection of another 1 on the input or stopped after max_regen regenerations have occurred.
Note that if max_regen=(-1)/ULONG_MAX then the regeneration will run forever.
Reset the maximum regeneration count; this will reset the current regen.
Reset the period of regenerations; this will reset the current regen.
simple squelch block based on average signal power and threshold in dB.
output = input or zero if muted.
output = input or zero if muted.
output = input or zero if muted.
output = input or zero if muted.
Detect the peak of a signal
If a peak is detected, this block outputs a 1, or it outputs 0’s.
Parameters: |
|
---|
Get the alpha value of the running average.
Get the look-ahead factor value.
Set the running average alpha.
Set the look-ahead factor.
Set the threshold factor value for the fall time.
Set the threshold factor value for the rise time.
Get the threshold factor value for the fall time.
Get the threshold factor value for the rise time.
Detect the peak of a signal
If a peak is detected, this block outputs a 1, or it outputs 0’s.
Parameters: |
|
---|
Get the alpha value of the running average.
Get the look-ahead factor value.
Set the running average alpha.
Set the look-ahead factor.
Set the threshold factor value for the fall time.
Set the threshold factor value for the rise time.
Get the threshold factor value for the fall time.
Get the threshold factor value for the rise time.
Detect the peak of a signal
If a peak is detected, this block outputs a 1, or it outputs 0’s.
Parameters: |
|
---|
Get the alpha value of the running average.
Get the look-ahead factor value.
Set the running average alpha.
Set the look-ahead factor.
Set the threshold factor value for the fall time.
Set the threshold factor value for the rise time.
Get the threshold factor value for the fall time.
Get the threshold factor value for the rise time.
sample and hold circuit
Samples the data stream (input stream 0) and holds the value if the control signal is 1 (intput stream 1).
sample and hold circuit
Samples the data stream (input stream 0) and holds the value if the control signal is 1 (intput stream 1).
sample and hold circuit
Samples the data stream (input stream 0) and holds the value if the control signal is 1 (intput stream 1).
sample and hold circuit
Samples the data stream (input stream 0) and holds the value if the control signal is 1 (intput stream 1).