Sound Category

1. play sound () until done

Plays the specified sound effect until it finishes.

Example:

When the green flag is clicked, the sound "meow" will be played until finished.


2. starts sound ()

Plays the specified sound, without pausing the script.

Example:

When the green flag is clicked, the sound "meow" will be played.


3. stop all sounds

Stops playing all sounds.

Example:

When the space key is pressed, all sounds will stop playing.


4. change () effect by ()

Changes the specified effect (pitch or pan left/right) by the specified amount.

Example:

When the left arrow key is pressed, the pitch effect will change by 10%.


5. set () effect to ()

Sets the specified effect (pitch or pan left/right) to the specified amount.

Example:

When the space key is pressed, the pitch effect will be set to 90%.


6. clear sound effects

Clear all sound effects.

Example:

When the space key is pressed, all sound effects will be cleared.


7. change volume by ()

Changes the volume by the specified amount.

Example:

When the left arrow key is pressed, the volume will increase by 10%.


8. set volume to ()%

Sets the volume to the specified amount.

Example:

When the green flag is clicked, the volume will be set to 60%.


9. volume

The current volume.

Example:

When the green flag is clicked, the sprite will report current sound volume.


results matching ""

    No results matching ""