Make a Volume Detector

 

Make a volume detector with Halocode. Use the microphone of Halocode to detect loudness and visualize the the value with the LED ring. The louder the sound is, the more LEDs will light up.

 

1. Drag an Events block when button is pressed to the Scripts area.

4.gif

 

2. Add a Control block forever.

5.gif

 

3. Add a Lighting block LED ring shows ()% and a Sensing block microphone loudness.

6.gif

 

4. Try hitting the table and check the LED ring of Halocode.

Download code


Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.