aboutsummaryrefslogtreecommitdiffstats
path: root/grc/misc_utils
diff options
context:
space:
mode:
authorPiotr Krysik <ptrkrysik@gmail.com>2016-07-15 13:07:05 +0200
committerPiotr Krysik <ptrkrysik@gmail.com>2016-07-15 13:07:05 +0200
commit1bed4abb0ea0a748119c481b164a39834268e12d (patch)
tree86136b4f98a3865eb12a0692d68f47416809dc46 /grc/misc_utils
parent47ab20e45ea6bf30dcde61f359db517a25834aaa (diff)
Moved new blocks (controlled resampler and msg to tag) to appropriate directory
Diffstat (limited to 'grc/misc_utils')
-rw-r--r--grc/misc_utils/gsm_controlled_fractional_resampler_cc.xml26
-rw-r--r--grc/misc_utils/gsm_msg_to_tag.xml23
2 files changed, 49 insertions, 0 deletions
diff --git a/grc/misc_utils/gsm_controlled_fractional_resampler_cc.xml b/grc/misc_utils/gsm_controlled_fractional_resampler_cc.xml
new file mode 100644
index 0000000..fdecece
--- /dev/null
+++ b/grc/misc_utils/gsm_controlled_fractional_resampler_cc.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<block>
+ <name>Controlled Fractional Resampler</name>
+ <key>gsm_controlled_fractional_resampler_cc</key>
+ <import>import grgsm</import>
+ <make>grgsm.controlled_fractional_resampler_cc($phase_shift, $resamp_ratio)</make>
+ <callback>set_resamp_ratio($resamp_ratio)</callback>
+ <param>
+ <name>Phase Shift</name>
+ <key>phase_shift</key>
+ <type>real</type>
+ </param>
+ <param>
+ <name>Resampling Ratio</name>
+ <key>resamp_ratio</key>
+ <type>real</type>
+ </param>
+ <sink>
+ <name>in</name>
+ <type>complex</type>
+ </sink>
+ <source>
+ <name>out</name>
+ <type>complex</type>
+ </source>
+</block>
diff --git a/grc/misc_utils/gsm_msg_to_tag.xml b/grc/misc_utils/gsm_msg_to_tag.xml
new file mode 100644
index 0000000..c0d73c3
--- /dev/null
+++ b/grc/misc_utils/gsm_msg_to_tag.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0"?>
+<block>
+ <name>Message To Tag</name>
+ <key>gsm_msg_to_tag</key>
+ <import>import grgsm</import>
+ <make>grgsm.msg_to_tag()</make>
+
+ <sink>
+ <name>in</name>
+ <type>complex</type>
+ </sink>
+
+ <sink>
+ <name>msg</name>
+ <type>message</type>
+ <optional>1</optional>
+ </sink>
+
+ <source>
+ <name>out</name>
+ <type>complex</type>
+ </source>
+</block>