Component: Quadrature Generator (DSP Inputs): Difference between revisions
Appearance
No edit summary |
m Text replacement - "style="background-color:#EAE1EA;"" to "class="mtx-class-propfolder"" |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 34: | Line 34: | ||
===Generate=== | ===Generate=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Generate''' | ||
|- | |- | ||
| colspan="2" | Assigns a single value to the specified buffer from the selected waveform data. Each call will read the next value from the waveform and will wrap correctly at the end of the data period. | | colspan="2" | Assigns a single value to the specified buffer from the selected waveform data. Each call will read the next value from the waveform and will wrap correctly at the end of the data period. | ||
| Line 48: | Line 48: | ||
===GenerateArray=== | ===GenerateArray=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''GenerateArray''' | ||
|- | |- | ||
| colspan="2" | Fills the output buffer with the selected waveform data. If the buffer is smaller or larger then the waveform data period then the data passed will follow on correctly for subsequent cycles. | | colspan="2" | Fills the output buffer with the selected waveform data. If the buffer is smaller or larger then the waveform data period then the data passed will follow on correctly for subsequent cycles. | ||
| Line 62: | Line 62: | ||
===GetOffset=== | ===GetOffset=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''GetOffset''' | ||
|- | |- | ||
| colspan="2" | Gets the current phase of the wave as an index from 0 to Num Samples. | | colspan="2" | Gets the current phase of the wave as an index from 0 to Num Samples. | ||
| Line 76: | Line 76: | ||
===ModifyAmplitude=== | ===ModifyAmplitude=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''ModifyAmplitude''' | ||
|- | |- | ||
| colspan="2" | Allows the amplitude to be adjusted by applying a scaler to the waveform data. | | colspan="2" | Allows the amplitude to be adjusted by applying a scaler to the waveform data. | ||
| Line 95: | Line 95: | ||
===ModifyFrequency=== | ===ModifyFrequency=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''ModifyFrequency''' | ||
|- | |- | ||
| colspan="2" | Sets the frequency output rate by altering the period offset to a new value. | | colspan="2" | Sets the frequency output rate by altering the period offset to a new value. | ||
| Line 114: | Line 114: | ||
===ModifyPhaseOffset=== | ===ModifyPhaseOffset=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''ModifyPhaseOffset''' | ||
|- | |- | ||
| colspan="2" | Shifts the output phase by the specified absolute angle in degrees. | | colspan="2" | Shifts the output phase by the specified absolute angle in degrees. | ||
| Line 138: | Line 138: | ||
===SetOffset=== | ===SetOffset=== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''SetOffset''' | ||
|- | |- | ||
| colspan="2" | Sets the current phase of the wave as an index from 0 to Num Samples. | | colspan="2" | Sets the current phase of the wave as an index from 0 to Num Samples. | ||
| Line 158: | Line 158: | ||
==Property reference== | ==Property reference== | ||
{| class="wikitable | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Properties''' | ||
|- | |- | ||
|- | |- | ||
| Line 174: | Line 174: | ||
| colspan="2" | Sets the buffer data type. | | colspan="2" | Sets the buffer data type. | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Waveform | ||
|- | |- | ||
|- | |- | ||
| Line 218: | Line 218: | ||
| colspan="2" | Degrees per default sample offset period | | colspan="2" | Degrees per default sample offset period | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-propfolder" | Frequency Calculation - Reference Only | ||
|- | |- | ||
|- | |- | ||
Latest revision as of 14:36, 13 July 2026
| Author | Matrix Ltd |
| Version | 1.2 |
| Category | DSP Inputs |
Quadrature Generator component
A quadrature generator allowing the generation of two waves Q and I which are b default 90 degrees out of phase from each other. Useful in modulating data.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_DSP_Quadrature.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_DSP_Quadrature.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
Generate
GenerateArray
GetOffset
| GetOffset | |
| Gets the current phase of the wave as an index from 0 to Num Samples. | |
| Return | |
ModifyAmplitude
| ModifyAmplitude | |
| Allows the amplitude to be adjusted by applying a scaler to the waveform data. | |
| Scaler | |
| 1.0 = 100% Default / 0.5 = 50% / 2.0 = 200% | |
| Return | |
ModifyFrequency
| ModifyFrequency | |
| Sets the frequency output rate by altering the period offset to a new value. | |
| OffsetRate | |
| 0.2=F/5 0.5=F/2 1.0=F 1.5=F*1.5 2.0=F*2 | |
| Return | |
ModifyPhaseOffset
SetOffset
| SetOffset | |
| Sets the current phase of the wave as an index from 0 to Num Samples. | |
| Offset | |
| Current sample of the wave: range 0 to num samples - 1 | |
| Return | |