Programming Reference

Use the tail command to gently step the audio output to zero.

If the data at the end of an audio file does not end near the zero point, it can result in a "pop" sound when the end of the file plays. To alleviate this pop, the tail command can be placed in the program directly after the audio filename. This ramps the audio driver gently down to zero. The tail command is generally not required.

Code Example

Meaning

tail

Set the audio output driver to zero.


Rather than use the tail command, it is better practice to make sure that all audio files end at the zero point, including a few samples of silence.