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

#1 2010-10-23 06:16:59

benjamin2
Scratcher
Registered: 2008-10-18
Posts: 1000+

Every block in detail and what it does - Sound

A guide for all the blocks in the sound section. Hope this helps people who are stuck!  smile

[blocks]<play sound[ music[/blocks] You can make and import sounds in the sounds menu. Use hte drop down menu of this block and select a sound you have previous made. Then when this is hit in the script the sound is played.

[blocks]<play sound[ music ]and wait>[/blocks] Like the above block ,but when hit, this block freezes the script until the sound is finished. If you want to have part of a sound played while the script is frozen but not the whole sound, use the above block and a wait secs control block.

[blocks]<stop all sounds>[/blocks]All playing sounds are stopped.

[blocks]<play drum( 2 )for( 2 )secs>[/blocks] Play a certain drum for a certain amount of time. Select a drum and the amount of time then your action happens when this block is hit.

[blocks]<play note( 8 )for( 8 )secs>[/blocks] Pick a note and set a time to have it played for. The note plays from the instrument the project is currently set to.

[blocks]<set instrument to( 53[/blocks]Changes the instrument of notes.

Hope this helps!  smile

Last edited by benjamin2 (2010-10-23 11:48:21)


http://i.imgur.com/gp6tZ.gif

Offline

 

#2 2010-10-23 10:32:15

kayybee
Scratcher
Registered: 2009-12-07
Posts: 1000+

Re: Every block in detail and what it does - Sound

I would suggest you use images from the actual scratch program... the bbcode blocks look awful.

Offline

 

#3 2010-10-23 10:38:52

benjamin2
Scratcher
Registered: 2008-10-18
Posts: 1000+

Re: Every block in detail and what it does - Sound

kayybee wrote:

I would suggest you use images from the actual scratch program... the bbcode blocks look awful.

Why?


http://i.imgur.com/gp6tZ.gif

Offline

 

#4 2010-10-23 10:41:39

kayybee
Scratcher
Registered: 2009-12-07
Posts: 1000+

Re: Every block in detail and what it does - Sound

Look: What's the difference between this and this?
http://i53.tinypic.com/2e52og9.gif
and
[blocks]<play sound[ meow ][/blocks]
Well, one-scratch covers more blocks than the bbcode, (because scratch is 1.4, and bbcode i think is 1.2)
and two-scratch's block quality is clearer.

Offline

 

#5 2010-10-23 10:54:45

mathematics
Scratcher
Registered: 2009-03-01
Posts: 1000+

Re: Every block in detail and what it does - Sound

benjamin2 wrote:

[blocks]<play sound[ music ]and waits>[/blocks] Like the above block ,but when hit, this block freezes the script until the sound is finished. If you want to have part of a sound played while the script is frozen but not the whole sound, use the above block and a wait secs control block.

<play sound[ music ]and wait>

Last edited by mathematics (2010-10-23 10:55:07)

Offline

 

Board footer