Sound
The sound component plays a designated sound.
Last updated
Was this helpful?
The sound component plays a designated sound.
Last updated
Was this helpful?
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 a selected sound. This can be an audio file that has been uploaded to your project, or a URL that streams audio.
Pause a selected audio file that is currently playing.
Resume a selected audio file that has been previously paused.
Stop a selected audio file that is currently playing. A sound that has been 'stopped' cannot be resumed using the resume block.
Returns true if named sound file has been partially played, then paused. Returns false otherwise.
Records for the specified amount of seconds, then returns the recorded audio.
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.