Blog

The Sustain Pedal Explained Holding Notes on the Online Piano

By Keyboard Play

The Sustain Pedal Explained: Holding Notes on the Online Piano

When you watch an experienced pianist, you will often see their right foot pressing a pedal that seems to make the music suddenly sound fuller, smoother, and more singing. That is the sustain pedal, and it is one of the most expressive tools a pianist has. The good news is that you do not need a real acoustic piano or a hardware pedal to use it. When you play piano online at keyboardplay.net, the sustain effect is built right in, and you control it with the Space key on your computer keyboard.

This guide explains what the sustain pedal actually does, how it behaves on the online piano, when it helps your playing, and when you should leave it alone.

What the Sustain Pedal Does on a Real Piano

On an acoustic piano, each note is produced by a hammer striking a string, and each string has a felt damper resting on it. When you press a key, the damper lifts off the string so it can vibrate. When you release the key, the damper falls back and stops the vibration, so the sound ends.

The sustain pedal (also called the damper pedal, or the right pedal) lifts every damper at once. This means that even after you let go of the keys, the strings keep ringing until the sound naturally fades away. The pedal also lets all the strings resonate sympathetically with each other, which is why sustained notes sound richer and warmer than short, dry notes.

In short, the pedal gives you a way to keep sound going without having to hold the keys down with your fingers. That frees your hands to move to new notes while the old ones are still fading.

How Sustain Works on the Online Piano

You do not need a physical pedal to get this effect online. At keyboardplay.net, the piano uses the Web Audio API together with SpessaSynth, a real-time SoundFont2 synthesizer running on its own audio thread, paired with the FluidR3 GM sound bank. That means the notes you hear are actual sampled piano tones with natural decay built in, not flat beeps.

To sustain, you press and hold the Space key. The interface labels this clearly as "Sustain · Space". While Space is held down, notes you play keep ringing past the moment you release their keys, just like a real damper pedal being held. When you release Space, any notes still sounding are allowed to ring out along their natural decay curve rather than being chopped off instantly.

This matters for realism. A dry note on the online piano stops fairly quickly when you let go of the key, which is perfect for crisp passages. But when you want a lush, connected sound, holding Space gives you the same legato, blended resonance you would expect from a real instrument.

When to Use the Sustain Pedal

Sustain is a colour, not a default. Use it when the music calls for connection and blend.

When Not to Use It

The pedal is tempting, and beginners often leave it on constantly because the wet sound feels impressive. That is a trap. Too much sustain turns clear music into mud.

A useful rule: the pedal should support what your hands are already doing, not cover up what they are not.

Sustain vs Releasing the Key

It helps to be precise about the two kinds of "letting go" on the online piano.

When you release a key without holding Space, the note stops quickly, the way a damper falls back onto a string. This gives you clean separation and is what you want for articulate playing.

When you release a key while holding Space, the note keeps ringing as if its damper is still lifted. When you finally release Space, those lingering notes do not cut off abruptly; they ride out their natural decay. This two-stage behaviour is exactly what makes the pedal feel musical instead of mechanical.

The three keyboard layouts available on the home page, Wide1, Wide2, and Narrow (switched from the Key Layout control at the bottom of the page), all share this same sustain behaviour. Whichever layout you find most comfortable, the Space key always does the same thing.

A Simple Practice Exercise

Here is a quick way to feel the pedal working.

That last step is the goal. It takes a little coordination, but it transforms a choppy progression into something that flows.

Using Sustain With Songs

Once the pedal clicks for you, try it on real music. Slow melodies and ballads from the songs collection are ideal for experimenting with how much sustain to add. A piece like Für Elise shows the contrast beautifully: the flowing sections want some sustain, while the repeated-note passages want the pedal lifted so the notes stay clear.

The key is listening. Add sustain, then ask yourself whether the music sounds more connected or more muddy. Trust your ear over any rule.

Keep Reading

← More articles

← Back to the online piano