Simple audio envelope example.
simple_envelope
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.
simple_envelope.c
examples/Audio