Sound#
Play Sound#
The Play Sound block is used to play a sound effect that is selected from the IQ (2nd gen) Brain’s built-in speakers.
This is a non-blocking command and allows any subsequent commands to execute without delay.
Select which sound effect to play:
siren
wrong way
wrong way (slow)
fill up
headlights on
headlights off
tollbooth
alarm
tada
door close
ratchet
wrench
siren2
ratchet2
alarm2
power down
In this example, the IQ (2nd gen) Brain will play the alarm2 sound.
Play Note#
The Play Note block is used to play the selected musical note from the IQ (2nd gen) Brain’s built-in speakers.
This is a non-blocking command and allows any subsequent commands to execute without delay.
Choose a musical note.
Choose the duration (how long) the note will play.
A whole note plays for 1 second.
A half note plays for 0.5 seconds.
A quarter note plays for 0.25 seconds.
In this example, the IQ (2nd gen) Brain will play a whole G note.