Click here to return to the Sources section.
The Triangle Wave block generates a triangle wave at a constant level and frequency. The output frequency is adjustable. Use the edit control or arrows to set the desired frequency; the checkbox control turns the signal on and off.
To change the source's Sampling Rate, Right-click in the block and select Set Sampling Rate, which will open the Sampling Rate window (default is 44.1 kHz).
GUI Control Name | Default Value | Range | Function Description |
---|---|---|---|
on/off | off | on/off | Turns the output of the cell on or off. When the output is off, the output pin will output a constant value of 0. |
Frequency | 500.01 | 0.01 to 0.5*Sample Rate | The sets the frequency of the triangle wave that is output from the cell. |
Initial Phase | 0 | 0 to 360 | Initial Phase of the triangle wave. |
Gain | 0 | -144 to 42 dB | The gain to be multiplied on the triangle wave |
Note: The triangle wave is digitally generated and is non-bandlimited. This waveform is suitable for use as an internal control signal, but will produce aliasing distortion if used directly for audio output. If this configuration is desired, it is recommended that you apply a low-pass filter to the block's output before routing the signal to hardware outputs.