A guide for all the blocks in the sound section. Hope this helps people who are stuck!
[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!
Last edited by benjamin2 (2010-10-23 11:48:21)
Offline
Look: What's the difference between this and this?
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
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