Frequency shift: Difference between revisions
Jump to navigation
Jump to search
(Created page with "Category:Block Docs Add samples across all input streams. For all n samples on all M input streams x_m: output[n] = sum( x_0[n], x_1[n], ..., x_m[n]) == Parameters == ; Num Inputs : Number of streams to add == Example Flowgraph == This flowgraph uses an Add Block to generate the classic "dial tone".<br> 700px 700px 700px == Source Files == ;...") |
No edit summary |
||
Line 1: | Line 1: | ||
[[Category:Block Docs]] | [[Category:Block Docs]] | ||
This block is a convenience wrapper around using a rotator block for frequency shifting. This block obfuscates the 2*Pi*freq/samp_rate phase_inc field and calculation, and only requires the designer to provide the frequency and sample rate. | |||
== Parameters == | == Parameters == | ||
; | ; Sample Rate | ||
: | : Input Sample Rate | ||
' Frequency Shift | |||
' Amount of Frequency Shift to be applied to input signal (Hz) | |||
== Example Flowgraph == | == Example Flowgraph == |
Revision as of 08:23, 24 August 2022
This block is a convenience wrapper around using a rotator block for frequency shifting. This block obfuscates the 2*Pi*freq/samp_rate phase_inc field and calculation, and only requires the designer to provide the frequency and sample rate.
Parameters
- Sample Rate
- Input Sample Rate
' Frequency Shift ' Amount of Frequency Shift to be applied to input signal (Hz)
Example Flowgraph
This flowgraph uses an Add Block to generate the classic "dial tone".
Source Files
- C++ files
- Header files
- Public header files
- Block definition
- [1]