Sound Bricks

From Catrobat
Jump to: navigation, search

< Back to brick documentation


Watch the videos beside the bricks to get an explaination of the brick functionality.


PlaySoundBrick

Start sound (Sound)


Start-sound.png

Plays a sound and continues with the next brick immediately.

An example script:

Download button.png

Start-sound-2.png

Record a sound or choose one from the media library. This is how to download one from the library:

Start-sound-3.gif


PlaySoundAndWaitBrick

Start sound and wait


Start-sound-and-wait.png

Plays a sound and waits until the sound is finished before continuing to the next block.

An example script:

Download button.png

Start-sound-and-wait-2.png

Start-sound-and-wait3.gif

StopAllSoundsBrick

Stop all sounds


Brick stop sounds.png

Stops all playing sounds.

SetVolumeToBrick

Set volume to (60) %


Brick set volume.png

Sets the volume for sound replay to a certain value.

ChangeVolumeByBrick

Change volume by (-10.0)


Brick change volume.png

Changes the volume for sound replay by a certain value.

SpeakBrick

Speak (Hello!)


Brick speak.png

Speaks the phrase with the voice of the phone.

SpeakAndWaitBrick

Speak and wait


Speak and wait.png

Speaks the phrase with the voice of the phone and waits until the sound is finished before continuing to the next block.

AskSpeechBrick

Ask (text) and store recorded answer in (variable)


Ask brick sound.png

Asks a quetsion and recorded your answer. The answer is stored in a variable and can be used.