NEW Explore the Scratch Block Dictionary, tutorials, textbook, and classroom guides

Start learning →

Microphone Threshold Check (Loudness > 30) — Scratch Block Guide

📌 What you will learn

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.

Example using Microphone Threshold Check (Loudness > 30)
  1. When green flag clicked
  2. Forever
  3. If (loudness) 30> then
  4. Change y by 25
  5. 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.

Back to Sensing Blocks See the overview and patterns for Sensing Blocks. Learn more → Scratch Block Dictionary (All Categories) Browse Motion, Looks, Sound, Events, Control, Sensing, Operators, Variables, and Extensions. Learn more →

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.