One adds spices for improved taste to food, similarly, to enhance the music or any sound we add audio effects. There is a wide range of audio effect plugins available in GStreamer. We will discuss some of the commonly used audio effects in the coming sections.
Fading is a gradual increase or decrease in the volume level of an audio. Fading-out means gradually decreasing the volume of the audio file as it approaches the end. Typically, at the end, the volume level is set as 0. On similar lines, fade-in effect gradually increases the volume level from the beginning of an audio. In this chapter, we will learn how to add fade-out effect to an audio. Once we learn that, it is trivial to implement fade-in effects.