Make a Volume Detector
Last updated
Last updated
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.
2. Add a Control block forever.
3. Add a Lighting block LED ring shows ()% and a Sensing block microphone loudness.
4. Try hitting the table and check the LED ring of HaloCode.