Idat 204: Array and sounds

Ok i have added the arrays here is three examples:

sounds(1)= “bells.wav”

sounds(2)= “winds.wav”

sounds(3)= “bass.wav”

But the complicated thing is that we are only storing text in the array and not the source of the sound clip.  so i Have to think how I am going to generate the random number and make it paly the linking random sound……

The code for the random number is as such:

n= 1+Rnd()*20

I am going to email Mark Dixon about this problem to see what he thinks about tackeling this


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s