Wave Generator

The Wave Generator audio object generates the sine tone for a given frequency and gain depending on control pins. This audio object has either no input or one input channel. It has one output channel and two control pins.

Use case: The purpose of Wave Generator audio object is to generate sine waves for a specified frequency and gain in Signal Flow Designer, mostly to test the speakers.

Wave Generator Properties

Below table describes about the Wave Generator audio object properties and functionality.

A screenshot of a computer Description automatically generated

Properties Description
Display Name Display the name of the Wave Generator audio object in signal flow design. It can be changed based on the intended usage of the object.
Object Mode Wave generator objects operate in one of the following two modes.

  • Sine – Without Input
  • Sine – With Input
  • Sweep

Mode

The Wave Generator object supports three different modes of operation.

Mode Description
Sine – Without Input This mode generates sine wave signal for specified frequency and gain.

This is the default mode.

Sine – With Input This mode generates sine wave signal for specified frequency and gain and mixes the generated signal with input signal. This mode is used for cascading sines.
Sweep This mode generates frequency sweep signal for specified start and end frequency, gain, sweep time, sweep type, and loop type.

Additional Parameters

There are no additional parameters available for Wave Generator audio object.

Tuning Parameters

Below table describes the tuning parameters of Wave Generator audio object.

Mode Parameter Description Unit Data Type Range Default
Sine – Without input Bypass The generator is turned ON(0)/OFF(1) None ULong 0 or 1 0
Gain Gain of generated signal dB Float -128 to 0 -128
Frequency Frequency of generated signal Hz Float 0 to 20000 0
Sine – With input Bypass The generator is turned ON(0)/OFF(1) None ULong 0 or 1 0
Gain Gain of generated signal dB Float -128 to 0 -128
Frequency Frequency of generated signal Hz Float 0 to 20000 0.0
Sweep StartFreq Start frequency of sweep signal to be generated Hz Float 20 to 20000 20
EndFreq End frequency of sweep signal to be generated Hz Float 20 to 20000 20000
SweepTime Duration of sweep s Float 0.1 to 20 2
Gain Gain of generated signal dB Float -120 to 20 -20
SweepMethod Type of frequency sweep.

  • LOG (0) method varies the frequency sweep logarithmically.
  • LINEAR (1) method varies the frequency linearly.
None Signed Integer 0 – Logarithmic

1 – Linear

0
LoopType Type of looping/repetition of the signal after “SweepTime”. The loop type can be

  • NONE (0) where the signal is generated once from “StartFreq” to “EndFreq” and stopped.
  • STARTTOEND (1) where the signal is generated and repeated starting from “StartFreq” to “EndFreq”
  • WARBLE (2) where the signal is generated and repeated from “StartFreq” to “EndFreq” and “EndFreq” to “StartFreq” in succession
None Signed Integer 0 – None

1 – START_TO_ END

2 – WARBLE

0

Control Interface

Below table describes the control parameters of Wave Generator audio object.

Mode Parameter Description Unit Range
Sine – Without input Frequency Frequency of generated signal Hz 0 to 20,000
Gain Gain of generated signal dB -128 to 0
Active When transition from high to low (Inactive): Completes the signal generation until zero cross over and mute the output and mute input signal for object mode Sine – with input.

When transition from low to high (Active): Reset phase of the signal and signal generation is active and unmute input signal for object mode Sine – with input.

None 0 to 1
Sine – With input Frequency Frequency of generated signal Hz 0 to 20,000
Gain Gain of generated signal dB -128 to 0
Active When transition from high to low (Inactive): Completes the signal generation until zero cross over and mute the output and mute input signal for object mode Sine – with input.

When transition from low to high (Active): Reset phase of the signal and signal generation is active and unmute input signal for object mode Sine – with input.

0 to 1

There are no control inputs in ‘Sweep’ mode.

There are no control outputs for this audio object.

Native Panel

Wave Generator object t does not support native panel.