Main Content
Speaker
Play tune from EV3 speaker
Add-On Required: This feature requires the Simulink Support Package for LEGO MINDSTORMS EV3 Hardware add-on.
Libraries:
Simulink Support Package for LEGO MINDSTORMS EV3 Hardware
Description
Use the Speaker block to play tones from the speaker in the EV3 brick. To play a tone, set the speaker volume and frequency to values that are audible.
This block converts the data type of the values it receives. You do not need to convert the data type of the input signal.
During simulations without hardware, this block emits zeros. See Block Produces Zeros or Does Nothing in Simulation.
Ports
Input
Parameters
Version History
Introduced in R2012a