This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2007-10-31 18:06:16

Gadget17
Scratcher
Registered: 2007-10-31
Posts: 1

Help with Random Audio Quiz

I am new to Scratch, maybe if I was 11 and not 30 would have worked this out by now.

Anyway, I am deisgning a program which looks nice, but I need to figure out how to play a random audio file that the user has to pick correct letter.

I already have the image sprites and audio files, it's just the randomising the audio that's got me beat.

(In case your wondering, it's a Morse Tutor).

Thanks in Adavnce! Gadget17

Last edited by Gadget17 (2007-10-31 18:27:52)

Offline

 

#2 2007-11-01 09:24:54

johnm
Scratcher
Registered: 2007-03-08
Posts: 100+

Re: Help with Random Audio Quiz

Hi, Gadget17.

Here is a trick: you can drop a number block, such as a variable or "pick random 1 to 10", into the "play sound" block.

Hope that helps!

  -- John

P.S. This is certainly not obvious, whatever your age. But we wanted to sneak in this feature to help users trying to do exactly what you want to do without adding another block or making sound blocks harder to use for those just getting started with Scratch.

Offline

 

Board footer