Microphone Threshold Check (Loudness > 30) — Scratch Block Guide
Detect claps or shouts cleanly by comparing "loudness" against a threshold like 30.
What this block does
Detect claps or shouts cleanly by comparing "loudness" against a threshold like 30.
Prevent background room noise from accidentally triggering jumps.
- Category: Sensing Blocks
- Key tip: Show the loudness monitor on stage first to pick the right threshold for your room.
Working Scratch example
Try building this small script in the Scratch editor, predict what will happen, then click the green flag to test it.
- When green flag clicked
- Forever
- If (loudness) 30> then
- Change y by 25
- Wait 0.2 seconds
Try it: Jumps only on a clear clap or loud sound.
Related block guides
Explore other blocks in the same category or return to the full English Block Dictionary.
FAQ
When should I use "Microphone Threshold Check (Loudness > 30)" in Scratch?
Prevent background room noise from accidentally triggering jumps. Show the loudness monitor on stage first to pick the right threshold for your room.
This guide is provided for educational purposes. Scratch screens and terms may change over time, so please check the official Scratch website as well.