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

#1 2008-08-21 10:24:37

-ZXZ-
Scratcher
Registered: 2008-08-04
Posts: 5

Scratch reaction time?

How long does it take to process a command then execute it?  tongue


不可能何もではない。

Offline

 

#2 2008-08-21 10:31:16

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: Scratch reaction time?

I'm sure it varys depending on the command you give and the data you ask it to do it on.  Doing a Whirl command on a full screen sprite takes longer then doing it on a very small sprite, for instance.  Also, the speed of your computer will make a difference too.


http://i39.tinypic.com/2nav6o7.gif

Offline

 

#3 2008-08-21 10:48:23

-ZXZ-
Scratcher
Registered: 2008-08-04
Posts: 5

Re: Scratch reaction time?

Well, I'm trying to get a flash in time with the beat of some music. I've got a 178 BPM peice, and my scripts look like this:

http://pixpipeline.com/st/3fc3ee67e6fe.gif
(Click it to enlarge)

And I know it says 175 in the picture. X_X


不可能何もではない。

Offline

 

#4 2008-08-21 11:07:19

Jens
Scratcher
Registered: 2007-06-04
Posts: 1000+

Re: Scratch reaction time?

If you're using a bpm interval, you might want to take the global tempo-blocks (from the sound category) to set and get it. You can then use the rest-block (also from the sound category), which takes a bpm-value, instead of the wait blocks.

Synchronizing music with other threads in Scratch is a nice challenge. It usually involves cutting up long recordings into shorter "sound bites", and synchronizing them using broadcasts. (also check http://scratch.mit.edu/forums/viewtopic.php?id=8616 )


Jens Mönig

Offline

 

#5 2008-08-21 11:21:45

-ZXZ-
Scratcher
Registered: 2008-08-04
Posts: 5

Re: Scratch reaction time?

It's still a bit slow, when I use this script:

http://pixpipeline.com/st/884f45240eb3.gif


不可能何もではない。

Offline

 

Board footer