Calculates a set of values for a simple audio waveform.
Each time this node’s
Calculate Samples port receives an event, it will calculate a new set of values. If you change
Frequency, the waveform changes smoothly to its new shape.
You can use this node to produce a tone at a specified pitch. Connect the Fire at Audio Rate node’s output to this node’s
Calculate Samples port, then connect this node’s
Samples output to the drawer attached to the Send Live Audio node.
Calculate Samples— Generate a new set of audio samples.
Wave— The shape of the waveform (sine, triangle, or sawtooth).
Frequency— The number of cycles per second (Hz) in the calculated waveform. The musical note A4 has a frequency of around 440 Hz.
Set Phase— Changes the current position in the waveform. At 1, the phase is back to the beginning of the cycle. This is useful for controlling the interference between multiple waves.
Samples— A set of calculated waveform values, ready to be filtered or output.
Keywords: DCO, LFO, NCO, VCO, cosine, frequency, oscillator, period, phase accumulator, sawtooth, sine, triangle