aboutsummaryrefslogtreecommitdiffstats
path: root/grc
diff options
context:
space:
mode:
Diffstat (limited to 'grc')
-rw-r--r--grc/CMakeLists.txt3
-rw-r--r--grc/grgsm_controlled_fractional_resampler_cc.xml27
2 files changed, 29 insertions, 1 deletions
diff --git a/grc/CMakeLists.txt b/grc/CMakeLists.txt
index 47dfc89..1619f1a 100644
--- a/grc/CMakeLists.txt
+++ b/grc/CMakeLists.txt
@@ -25,5 +25,6 @@ add_subdirectory(flow_control)
add_subdirectory(misc_utils)
install(FILES
gsm_block_tree.xml
- grgsm_msg_to_tag.xml DESTINATION share/gnuradio/grc/blocks
+ grgsm_msg_to_tag.xml
+ grgsm_controlled_fractional_resampler_cc.xml DESTINATION share/gnuradio/grc/blocks
)
diff --git a/grc/grgsm_controlled_fractional_resampler_cc.xml b/grc/grgsm_controlled_fractional_resampler_cc.xml
new file mode 100644
index 0000000..ca92572
--- /dev/null
+++ b/grc/grgsm_controlled_fractional_resampler_cc.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0"?>
+<block>
+ <name>controlled_fractional_resampler_cc</name>
+ <key>grgsm_controlled_fractional_resampler_cc</key>
+ <category>grgsm</category>
+ <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>