Calculates a set of values for a simple audio waveform.
Each time this node’s refresh port receives an event, it will calculate a new set of values. If you change Waveform
or Frequency
, the waveform changes smoothly to its new shape.
You can use this node to produce a tone at a specified pitch. Connect the Send Live Audio
node’s Requested Channels
output to this node’s refresh port, then connect this node’s Samples
output to the drawer attached to the Send Live Audio
node.
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 “A” has a frequency of around 440 Hz.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