Sonido#
Introduction#
The VEX IQ (1st gen) Brain can produce audio through its built-in speaker using blocks from the Sound category. These blocks play preloaded sound effects or musical notes.
Below is a list of all blocks:
play sound — Plays one of the Brain’s built-in sound effects.
play note — Plays a musical note for a specific duration.
play sound#
The play sound block plays one of the brain’s built-in sounds.
reproducir sonido [sirena v]
Parameters |
Description |
|---|---|
sound |
One of the built-in sounds shown below. |
Sound Name |
Reproducir sonido |
|---|---|
siren |
|
wrong way |
|
wrong way (slow) |
|
fill up |
|
headlights on |
|
headlights off |
|
tollbooth |
|
alarm |
|
tada |
|
door close |
|
ratchet |
|
wrench |
|
siren2 |
|
ratchet2 |
|
alarm2 |
|
power down |
Example
cuando empezó
[Play the power down sound.]
reproducir sonido [Apagar v]
play note#
The play note block plays a specific note for a specific duration.
tocar nota [C v] [mitad v]
Parameters |
Description |
|---|---|
note |
Defines the musical pitch:
|
note length |
Sets the length of the note:
|
Example
cuando empezó
[Play a short tune.]
tocar nota [C v] [un cuarto v]
tocar nota [D v] [mitad v]