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.
- Smooth chord progressions. When you move from one chord to the next, holding Space lets the first chord overlap slightly with the second, so there is no gap of silence. This is the single most common use of the pedal. Try it with simple progressions from the chord library and you will immediately hear the difference.
- Arpeggios and broken chords. When you play the notes of a chord one at a time, a little sustain makes each note blend into the next instead of sounding separate and dry. Hold Space while you roll through an arpeggio, and the notes stack into a full, harp-like wash.
- Slow, singing melodies. Ballads and lyrical pieces benefit from a held pedal under long notes, because the resonance gives each melody tone a tail that carries the emotion forward.
- Hands that need to move. If a passage asks you to jump to a distant part of the keyboard, a touch of sustain lets the previous note survive your hand repositioning.
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.
- Fast, rhythmic passages. If you are playing something quick and precise, the pedal will smear every note into the next and destroy the rhythm. Keep your finger off Space here.
- Staccato and detached notes. Notes that are meant to be short and crisp rely on silence between them. Sustain kills that contrast, so lift the pedal for any staccato section.
- Dense, low chords. Bass notes carry a lot of energy. Sustaining several low notes at once builds up a booming blur. Either avoid the pedal in the left hand or change it more often than in the right.
- Practising a new piece. When you are learning, play without the pedal first so you can hear whether your fingers are actually connecting the notes. The pedal can hide sloppy legato that you should fix with your hands.
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.
- Pick a slow, four-chord progression, such as C, G, Am, F, from the chords page.
- Play it once with no sustain, releasing every key cleanly. Notice the small silences between chords.
- Play it again while holding Space gently the whole time. The chords now melt into one another.
- Now try the controlled version: hold Space through each chord, then briefly release and re-press Space right as you change to the next chord. This is called syncopated pedalling, and it is the technique real pianists use to keep things connected without letting old notes bleed into new chords.
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
- Transpose vs Octave: What's the Difference? - pair the pedal with the right pitch range for your hands.
- Metronome Practice: Building a Steady Tempo - keep sustained passages from dragging.
- Piano Chords Guide - the chords to practise your pedalling with.
- Try it all on the Twelve Major Scales, pedalling lightly to hear each scale blend.