Fractional Resampler: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
No edit summary
(add Example Flowgraph; clarify parameters)
 
Line 8: Line 8:


; Phase Shift
; Phase Shift
: blah blah blah
: type: real


; Resampling Ratio (''R'')
; Resampling Ratio (''R'')
: Description of parameter, provide any tips or recommended values.  Note that the name of the parameter above should match the param's label that shows up in grc (e.g. Sample Rate).
: The Resampling Ratio is the fraction of (input_rate/output_rate). (type: real)


== Example Flowgraph ==
== Example Flowgraph ==


Insert description of flowgraph here, then show a screenshot of the flowgraph and the output if there is an interesting GUI.  Currently we have no standard method of uploading the actual flowgraph to the wiki or git repo, unfortunately. The plan is to have an example flowgraph showing how the block might be used, for every block, and the flowgraphs will live in the git repo.
In this example, the Resampling Ratio has an additional adjustment to compensate for Underruns at the transmitter. The factor = 1.0/((usrp_rate/samp_rate)*rs_ratio)
 
[[File:NFM_xmt_fg.png|800px]]


== Source Files ==
== Source Files ==

Latest revision as of 03:12, 4 February 2021

Resampling MMSE filter.

The resampling ratio and mu parameters can be set with a pmt dict message. Keys are pmt symbols with the strings "resamp_ratio" and "mu" and values are pmt floats.

Parameters

(R): Run-time adjustable

Phase Shift
type: real
Resampling Ratio (R)
The Resampling Ratio is the fraction of (input_rate/output_rate). (type: real)

Example Flowgraph

In this example, the Resampling Ratio has an additional adjustment to compensate for Underruns at the transmitter. The factor = 1.0/((usrp_rate/samp_rate)*rs_ratio)

NFM xmt fg.png

Source Files

C++ files
Complex Input
Real Input
Header files
Complex Input
Real Input
Public header files
Complex Input
Real Input
Block definition
[1]