July 2017
Beginner to intermediate
390 pages
10h 53m
English
Our class will have two parts: one to load in the sound data so that it is ready to play whenever we want it to, and one to actually play the sounds.
It is best to load the sounds beforehand--loading data from the assets might take time, and we want the sounds to be available when we need them. Any delay caused by loading will distract from the experience the user has.
That being said, when you have a large sound file, or you only need to play it once or very sparingly, you might want to load the file at the time you need it. After all, it is doesn't do us much good to have a large chunk of data in memory when we never need it.
In this case, however, we need the sound to be ready at all times. ...
Read now
Unlock full access