blob: a3dd89f1f627ac86ff747b8b61aeb1c1bf336bcd (
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
41
42
43
44
45
|
id: analog_ctcss_squelch_ff
label: CTCSS Squelch
parameters:
- id: rate
label: Sampling Rate (Hz)
dtype: real
default: samp_rate
- id: freq
label: Tone Frequency
dtype: real
default: '100.0'
- id: level
label: Level
dtype: real
default: '0.01'
- id: len
label: Length
dtype: int
default: '0'
- id: ramp
label: Ramp
dtype: int
default: '0'
- id: gate
label: Gate
dtype: bool
default: 'False'
inputs:
- domain: stream
dtype: float
outputs:
- domain: stream
dtype: float
templates:
imports: from gnuradio import analog
make: analog.ctcss_squelch_ff(${rate}, ${freq}, ${level}, ${len}, ${ramp}, ${gate})
callbacks:
- set_level(${level})
- set_frequency(${freq})
file_format: 1
|