simple_envelope

Simple audio envelope example.

Synopsis

simple_envelope

Description

Simple demonstration of an envelope used to ramp amplitude of a sawtooth waveform. A 3-point envelope is used to provide a ramp up to a specified amplitude at the start of the sound and a ramp down when the sound is to be stopped. Using envelopes is one technique to avoid audio pops at the start and end of sounds.

Associated Files

simple_envelope.c

Location

examples/Audio