Skip to content

AudioAPI reference

Enum Wave

Namespace: MicroEngine.Audio.Retro
Assembly: MicroEngine.Audio.dll
Guide: Synthesized sound effects

Oscillator waveforms for SfxParams and Instrument: Square, Triangle, Saw, Sine, Noise (a random value held for each cycle, so its frequency sets the colour of the noise), and the thinner pulse waves Pulse25 and Pulse12 (25% and 12.5% duty cycle).

C#
public enum Wave

Fields

Noise = 4

Pulse12 = 6

Pulse25 = 5

Saw = 2

Sine = 3

Square = 0

Triangle = 1