Page 1 of 1

Play random audio on a button click

Posted: Thu Jul 05, 2012 3:42 pm
by bluesbroBUSUvh3
Hello,

I am in search of a way to link a bunch of audio files to a button so when a user clicks the button the mobile device randomly selects a wav file to play from a sound folder where the wav files are stored.

I have been searching the forums for this and have not found anything about it yet but if I have missed it please point me into the right direction.

Thank you very much for your help.

Re: Play random audio on a button click

Posted: Fri Jul 06, 2012 8:59 am
by Mark
Hi,

Put your files in a list and "put any line of myList into myFile". Now you can play that file.

Kind regards,

Mark