Frequency shift: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
; Sample Rate | ; Sample Rate | ||
: Input Sample Rate | : Input Sample Rate | ||
' Frequency Shift | ' Frequency Shift | ||
' Amount of Frequency Shift to be applied to input signal (Hz) | ' Amount of Frequency Shift to be applied to input signal (Hz) | ||
Line 12: | Line 13: | ||
This flowgraph uses an Add Block to generate the classic "dial tone".<br> | This flowgraph uses an Add Block to generate the classic "dial tone".<br> | ||
[[File:Freq_shift_block_doc_fg.png| | [[File:Freq_shift_block_doc_fg.png|800px]] | ||
[[File:Freq_shift_block_doc_plot.png| | [[File:Freq_shift_block_doc_plot.png|500px]] | ||
== Source Files == | == Source Files == |
Latest revision as of 08:25, 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]