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

#1 2010-11-19 08:52:09

evviesands
New Scratcher
Registered: 2010-11-18
Posts: 1

How to make a loop sound

Hi everybody, I'm a Scratcher Mum, and trying to find a way to solve this:

I recorded a sound, just 2 secs and I put the "repeat N times" to make a loop, that is, to make it repeat several times, however, it doesn't work, it only sounds one time and then it goes super fast for the rest of repetitions.

I've tried putting a second interval but it doesn't work.
Look at this:

[bocks]<repeat( <play sound[ [/blocks]

or

[bocks]<repeat( <play sound[ <wait(  )secsc>[/blocks]

None of them work, thanks a lot for the help, my son has an XO w/Scratch and he's working on the activity, however, since his XO is not working I've downloaded the PC version.
Thanks a lot!

Offline

 

#2 2010-11-19 09:23:17

ob6160
Scratcher
Registered: 2010-10-10
Posts: 500+

Re: How to make a loop sound

evviesands wrote:

Hi everybody, I'm a Scratcher Mum, and trying to find a way to solve this:

I recorded a sound, just 2 secs and I put the "repeat N times" to make a loop, that is, to make it repeat several times, however, it doesn't work, it only sounds one time and then it goes super fast for the rest of repetitions.

I've tried putting a second interval but it doesn't work.
Look at this:

[bocks]<repeat( <play sound[ [/blocks]

or

[bocks]<repeat( <play sound[ <wait(  )secsc>[/blocks]

None of them work, thanks a lot for the help, my son has an XO w/Scratch and he's working on the activity, however, since his XO is not working I've downloaded the PC version.
Thanks a lot!

Did you actually put "repeat n times" in the repeat block?
Also in your example you didn't put in : <when green flag clicked>

This should work:  smile
<when green flag clicked>
<repeat( 20 )
<wait( 1 )sec>
<play sound[  your sound ]
<end>

Best Regards

OB6160

Last edited by ob6160 (2010-11-19 09:27:14)


http://i45.tinypic.com/2jcygsy.gif

Offline

 

#3 2010-11-19 16:21:20

Jonathanpb
Scratcher
Registered: 2008-07-25
Posts: 1000+

Re: How to make a loop sound

You should use the [play sound [ ] until done] block - the [play sound [ ]] block doesn't pause the script.  smile


"Human beings... must have action; and they will make it if they cannot find it.
-Charlotte Brontë

Offline

 

#4 2010-11-21 08:48:15

GraemeK
Scratcher
Registered: 2010-06-14
Posts: 73

Re: How to make a loop sound

Try this block:
http://scratchr.webs.com/images/repeatsound.gif

Last edited by GraemeK (2010-11-21 08:49:03)


http://internetometer.com/image/13865.png

Offline

 

Board footer