We're now caught up on understanding the important aspects of using audio files in the Corona SDK. Now you can go off and add your own sound effects and music to your games or even add them to any of the samples we have made in the previous chapters. In doing so, you add another layer to the user experience that will draw players into the environment you created.
Up until now, you have learned how to:
Pre-load and play sound effects and music using
loadSound()
andloadStream()
Control audio functions that pause, resume, stop, and rewind a music track under the Audio System API
Dispose audio from memory when it is no longer in use
Adjust the volume in your audio files
In the next chapter, we will be combining everything we have learned thus far into creating our final game in this book. We'll also be going over other ways to implement physical objects and collision mechanics that are popular in mobile games in the market to date. More exciting information to learn awaits us. Let's power...