when [space v] key pressed forever play drum (67 v) for(.5) beats wait ((beats per minute) / (60)) secsi will have the beats per minute as a slider variable. am i doing that right? i just cannot get it to work right.
Last edited by gfchll (2012-11-18 21:38:14)
Offline
gfchll wrote:
when [space v] key pressed forever play drum (67 v) for(.5) beats wait ((beats per minute) / (60)) secsi will have the beats per minute as a slider variable. am i doing that right? i just cannot get it to work right.
You aren't doing it right. It will add an additional 1/2 beat to the wait. I'd divide the "((beats per minute) / (60))" by 2.
So it should be like this:
when [space v] key pressed forever play drum (67 v) for(.5) beats wait (((beats per minute) / (60)) / (2)) secsThat should work.
Offline
gfchll wrote:
i want the tempo to displayed large too so I have 3 separate sprites. they all contain numbers. i'm not sure how to make them automatically change when the slider changes
I don't understand. So you are trying to set the tempo to be displayed in what?
Offline
jontmy00 wrote:
gfchll wrote:
i want the tempo to displayed large too so I have 3 separate sprites. they all contain numbers. i'm not sure how to make them automatically change when the slider changes
I don't understand. So you are trying to set the tempo to be displayed in what?
http://scratch.mit.edu/projects/gfchll/2921540
see those #s at the bottom? i want them to change as the slider value changes.so it looks like a large readout. (all three #s are separate sprites)
Last edited by gfchll (2012-11-19 20:55:59)
Offline
If you have the costumes as numbers...
Sprite one costume equals (letter (1)) of (tempovariable)
Offline