summaryrefslogtreecommitdiff
path: root/gr-analog/grc
diff options
context:
space:
mode:
Diffstat (limited to 'gr-analog/grc')
-rw-r--r--gr-analog/grc/analog_block_tree.xml1
-rw-r--r--gr-analog/grc/analog_frequency_modulator_fc.xml26
2 files changed, 27 insertions, 0 deletions
diff --git a/gr-analog/grc/analog_block_tree.xml b/gr-analog/grc/analog_block_tree.xml
index 53aba58c9..bb7a9b067 100644
--- a/gr-analog/grc/analog_block_tree.xml
+++ b/gr-analog/grc/analog_block_tree.xml
@@ -35,6 +35,7 @@
<block>analog_feedforward_agc_cc</block>
<block>analog_ctcss_squelch_ff</block>
<block>analog_dpll_bb</block>
+ <block>analog_frequency_modulator_fc</block>
</cat>
<cat>
<name>Modulators</name>
diff --git a/gr-analog/grc/analog_frequency_modulator_fc.xml b/gr-analog/grc/analog_frequency_modulator_fc.xml
new file mode 100644
index 000000000..3b6cd159a
--- /dev/null
+++ b/gr-analog/grc/analog_frequency_modulator_fc.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<!--
+###################################################
+##Frequency Modulator
+###################################################
+ -->
+<block>
+ <name>Frequency Mod</name>
+ <key>analog_frequency_modulator_fc</key>
+ <import>from gnuradio import analog</import>
+ <make>analog.frequency_modulator_fc($sensitivity)</make>
+ <callback>set_sensitivity($sensitivity)</callback>
+ <param>
+ <name>Sensitivity</name>
+ <key>sensitivity</key>
+ <type>real</type>
+ </param>
+ <sink>
+ <name>in</name>
+ <type>float</type>
+ </sink>
+ <source>
+ <name>out</name>
+ <type>complex</type>
+ </source>
+</block>