alice-teacher Using an audio file based on a condition

Nalini Ujre nalinir54 at gmail.com
Mon Dec 29 00:35:31 EST 2014


Hello all,

I have a project where the audio needs to be played depending on certain
conditions. For example, if the "c" key is pressed, it should play a
certain sound. I want to know if there is a way to store the names of the
audio files in an array and then use it as required instead of using the if
conditional statement each time. There are about 15 audio files that are
required in this project.

I am using Alice 3.1

Thank you
Nalini
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andrew.cmu.edu/pipermail/alice-teachers/attachments/20141229/75051e14/attachment.html 


More information about the alice-teachers mailing list