< Back

Lab 10: Sounds

For all of our activities, make sure your practice with the new blocks today. Some of the activities you can complete without using the new blocks. They do save some time and headaches. Open up the Practice Area, and take a crack at the following activities.


Activity 1: Increase Volume

Create a blockly program which allows the user to load in a .wav file, and plays the wave file back at an increased volume. You can use the following wav file if you cannot find one: tada.wav


Activity 2: Echo

Create a blockly program which allows the user to load in a .wav file, and plays the wave file back with an echo. You can use the following wav file if you cannot find one: tada.wav.

In order to create an echo, for each sample in the sound file, you need to compute the average of itself and the sample 44100 indicies later.