Sound/es: Difference between revisions

From StarLogo Nova Wiki
(Updating to match new version of source page)
 
(Updating to match new version of source page)
 
Line 1: Line 1:
<languages/>
<languages/>
<div lang="en" dir="ltr" class="mw-content-ltr">
<section begin="image"/>[[File:sound.png|alt=The Sound Block|thumb]]<section end="image"/><p id="tooltip">Returns the sound selected from the dropdown menu.</p>
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
==Usage==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Returns the selected sound. You can upload or record your own sounds, or select one from a library of pre-loaded sounds.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
==Syntax==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Inputs in this block:
#a sound from the dropdown menu
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
==Example==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
[[File:sound_example.gif|alt=Sound example gif|thumb]]
[[File:sound_example.png|alt=Sound example code|thumb]]
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
The image above is from a predator-prey simulation where a dog agent hunts many smaller cat agents. [[Special:MyLanguage/On Collision With Do|On collision with]] a dog, the cat agents will [[Special:MyLanguage/Play Sound|play]] an audio recording of a cat meowing.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
==Related Blocks==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
*[[Special:MyLanguage/Play Sound|Play Sound]]
</div>


[[Category:Sonido]]
[[Category:Sonido]]
[[Category:Code Block]]
[[Category:Code Block]]

Latest revision as of 19:13, 14 August 2023

Other languages:
The Sound Block

Returns the sound selected from the dropdown menu.

Returns the selected sound. You can upload or record your own sounds, or select one from a library of pre-loaded sounds.

Syntax

Inputs in this block:

  1. a sound from the dropdown menu

Example

The image above is from a predator-prey simulation where a dog agent hunts many smaller cat agents. On collision with a dog, the cat agents will play an audio recording of a cat meowing.

Related Blocks