Skip to content

Sound Sensor

Non-Visible component
Category Requires Version
Sensors API 21, Android 5.0 Lollipop 1

Overview

Physical world component that can detect such data as: sound amplitude (measurement of the degree of change [positive or negative] ).

Permissions

Events

Sound Changed

Triggered when the sound level has changed

Params
value Number

Properties

Amplitude

Number ➖ Read - Blocks

Returns the real sound amplitude which can be between 0 to 32768.

Listen

Boolean Default: False ➖ Read Write - Designer Blocks

Starts or Stops listening to sound changes

Max Sound Level

Number Default: 100 ➖ Read Write - Designer Blocks

Returns the max sound level.

Sound Level

Number ➖ Read - Blocks

Returns the sound level.


Last update: November 9, 2022