Sound

The sound component plays a designated sound.

Advanced Blocks

You can right-click any block to show an advanced version of the block.

These blocks will return an error output block. If there is en error with executing the block, the error block will return an error message. If not, the error block will return a null value.

Play

Play a selected sound. This can be an audio file that has been uploaded to your project, or a URL that streams audio.

Pause

Pause a selected audio file that is currently playing.

Resume

Resume a selected audio file that has been previously paused.

Stop

Stop a selected audio file that is currently playing. A sound that has been 'stopped' cannot be resumed using the resume block.

Is Sound Paused?

Returns true if named sound file has been partially played, then paused. Returns false otherwise.

Sound File from Recording

Records for the specified amount of seconds, then returns the recorded audio.

Untimed Recording

The start recording block begins a recording.

The sound file from stopped recording block will stop the recording initiated by the start recording block, and return the recorded sound file.

Last updated

Change request #1203: