Site Tools


documentation:development:opera:pf25:ppgfldr:smmfldr:gspfldr:12pgs049

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

documentation/development/opera/pf25/ppgfldr/smmfldr/gspfldr/12pgs049.txt · Last modified: 2022/10/10 16:53 by 127.0.0.1