C++ SCHX ยท rev 4
Sound blocks ยท Beginner

Sound blocks

Add tones and audio feedback. Sound blocks generate simple tones, notes and volume changes so a beginner can add feedback without first learning Web Audio APIs.

12 minreading time
Beginnerdifficulty
MODU docssource
SCHX nativeruntime
SCHX / FEATURE LAYER

What Sound is for

Sound blocks generate simple tones, notes and volume changes so a beginner can add feedback without first learning Web Audio APIs.

The built-in Sound category starts with 4 core block shapes and is expanded by the larger generated catalog, so you can learn a small vocabulary before exploring specialized variants.

SCHX / FEATURE LAYER

Core blocks you will see

These names come from the current RC Blocks Studio catalog. Start with the first two or three and ignore the rest until your project needs them.

blocksplay tone Hz for seconds
play note
set volume percent
stop all sounds
SCHX / FEATURE LAYER

Try this tiny recipe

Build the smallest possible experiment so you can see what this category changes.

1

Add โ€œplay noteโ€ after a visible action.

2

Keep the first sound short.

3

Use Stop All Sounds when leaving a scene.

SCHX / FEATURE LAYER

How it becomes a real game

When the project is materialized, supported Sound opcodes are compiled into the generated browser runtime rather than remaining visual-only editor decorations.

That means the same block idea can affect the full RC project when you Save and Run project.

SCHX / FEATURE LAYER

Related guides