1. sound sensor [index] volume detected

Sound Sensor - 图1

Reports the loudness detected by the specified sound sensor

How to Use

The number in this block indicates the place of a sound sensor among the ones connected to Halocode. As shown in the following figure, the number 1 indicates the first sound sensor connected to Halocode, 2 indicates the second one, and so on.
Sound Sensor - 图2
Loundness range: 0–100
You can select the check box on the left of this block to see the loudness detected by the sound sensor on the stage.
Note: This is a reporter block that must be used in combination with another block requiring data.

Example

Sound Sensor - 图3

When you press the space key, the first LED matrix connected to Halocode displays the loudness detected by the first sound sensor.
Note: Ensure that you have connected an LED matrix to Halocode.