2. Waveform types

The waveforms used for output (i.e. those with the output="yes" attribute) must produce values between -100 and 100. If the output is below -100 or above 100, il will be changed to -100 or 100 by Epulse.

2.1. Sine

Sine wave defined by its frequency. Parameters:

  • Frequency: wave frequency in Hertz

  • Phase: wave phase in radians (0: wave will start at mean value. 1.57: wave will start at maximum value. -1.57: wave will start at minimum value)

  • Mean: wave mean value

  • Amplitude: wave amplitude

The wave minumum value will be Mean-Amplitude, and its maximum value will be Mean+Amplitude.

2.2. Sine-Period

Sine wave defined by its period. Parameters:

  • Period: wave period in seconds

  • Phase: wave phase in radians (0: wave will start at mean value. 1.57: wave will start at maximum value. -1.57: wave will start at minimum value)

  • Mean: wave mean value

  • Amplitude: wave amplitude

The wave minumum value will be Mean-Amplitude, and its maximum value will be Mean+Amplitude.

2.3. Rectangle-Duty-Cycle

Rectangular wave defined by its frequency and duty cycle. Parameters:

  • Frequency: wave frequency in Hertz

  • Phase: wave phase in radians (0: wave will start at high value. 3.14: wave will start at low value)

  • Duty Cycle: wave duty cycle, between 0 and 1 (0.5 is a square signal. 0 is always low, 1 is always high)

  • Mean: wave mean value

  • Amplitude: wave amplitude

The wave low value will be Mean-Amplitude, and its high value will be Mean+Amplitude.

2.4. Rectangle-Duration

Rectangular wave defined by its frequency and high state duration. Parameters:

  • Frequency: wave frequency in Hertz

  • Phase: wave phase in radians (0: wave will start at high value. 3.14: wave will start at low value)

  • Duration: high state duration, in seconds (output will be high during the time defined by this parameter, and low afterwards)

  • Mean: wave mean value

  • Amplitude: wave amplitude

The wave low value will be Mean-Amplitude, and its high value will be Mean+Amplitude.

2.5. Rectangle-Period

Rectangular wave defined by its period and high state duration. Parameters:

  • Period: wave period in seconds

  • Phase: wave phase in radians (0: wave will start at high value. 3.14: wave will start at low value)

  • Duration: high state duration, in seconds (output will be high during the time defined by this parameter, and low afterwards)

  • Mean: wave mean value

  • Amplitude: wave amplitude

The wave low value will be Mean-Amplitude, and its high value will be Mean+Amplitude.

2.6. Triangle-Duty-Cycle

Triangular wave defined by its frequency and duty cycle. Parameters:

  • Frequency: wave frequency in Hertz

  • Phase: wave phase in radians (0: wave will start at minimum value. 3.14: wave will start at maximum value)

  • Duty Cycle: wave duty cycle, between 0 and 1 (0.5 is a real triangular signal, with other figures, the rise and fall times won't be the same)

  • Mean: wave mean value

  • Amplitude: wave amplitude

The wave minimum value will be Mean-Amplitude, and its maximum value will be Mean+Amplitude.

2.7. Triangle-Duration

Triangular wave defined by its frequency and rising duration. Parameters:

  • Frequency: wave frequency in Hertz

  • Phase: wave phase in radians (0: wave will start at minimum value. 3.14: wave will start at maximum value)

  • Duration: rise duration, in seconds (output will be rising during the time defined by this parameter, and falling afterwards)

  • Mean: wave mean value

  • Amplitude: wave amplitude

The wave minimum value will be Mean-Amplitude, and its maximum value will be Mean+Amplitude.

2.8. Triangle-Period

Triangular wave defined by its period and rising duration. Parameters:

  • Period: wave period in seconds

  • Phase: wave phase in radians (0: wave will start at high value. 3.14: wave will start at low value)

  • Duration: rise duration, in seconds (output will be rising during the time defined by this parameter, and falling afterwards)

  • Mean: wave mean value

  • Amplitude: wave amplitude

The wave minimum value will be Mean-Amplitude, and its maximum value will be Mean+Amplitude.

2.9. Pulse-Rectangle

Bipolar rectangular pulse defined by its frequency and duration. Parameters:

  • Frequency: wave period in seconds

  • Phase: wave phase in radians

  • Duration: pulse duration, in seconds (must be less than a tenth of the mave period)

  • Amplitude: pulse amplitude

The output will be Amplitude during Duration/2 seconds, then -Amplitude during Duration/2 seconds, and 0 afterwards.

2.10. Pulse-Gaussian

Bipolar gaussian pulse defined by its frequency and duration. Parameters:

  • Frequency: wave period in seconds

  • Phase: wave phase in radians

  • Duration: pulse duration, in seconds (must be less than a tenth of the mave period)

  • Amplitude: pulse amplitude

The output will be a positive gaussian pulse during Duration/2 seconds, then a negative gaussian pulse during Duration/2 seconds, and 0 afterwards.