Your privacy choices

KiwiBee uses optional Google Analytics, Google Ads, and Meta Pixel cookies to understand adult visitors, measure completed sign-ups, and improve campaigns. Essential cookies always stay on. OpenAI’s ChatGPT Ads Pixel also measures page views and completed enquiries after advertising consent, and may use hashed contact details for matching. Privacy policy

Skip to main content

Piano Keyboard

  • Physics
—

Related to this simulation

Picked by meaning from games, worksheets, simulations, teacher tools and videos.

About this simulation

This simulation shows a one-and-a-half octave piano keyboard in 3D. Students click a key, drag a finger across several keys, or use the computer keys A to L and W to P to play. Every note shows its name, its frequency in hertz and its wavelength in air. A waveform selector (sine, triangle, square, sawtooth) and an octave shift change the sound. It teaches that pitch is frequency, that a semitone multiplies frequency by about 1.0595 and that 12 semitones make an octave. Teachers can use it to connect music with the physics of waves.

What students can explore

  • Click middle C, then the C one octave higher, and compare the two frequency readouts.
  • Drag your pointer across the white keys to play a scale and watch the Note readout change.
  • Switch Waveform between sine and square and listen to how the same note sounds different.
  • Move the Octave shift slider to -1 and +1 and see how frequency and wavelength change.
  • Press A, S, D, F on your computer keyboard to play a tune without the mouse.

Learning objectives

  1. 1Relate the pitch of a note to the frequency of its sound wave.
  2. 2Explain that 12 semitones make an octave and double the frequency.
  3. 3Calculate wavelength in air from frequency and the speed of sound.
  4. 4Compare the sound of different waveforms playing the same note.

Questions teachers ask

Is it free?

Yes. The piano keyboard simulation is free, needs no sign-up and runs in any modern browser, including interactive whiteboards, tablets and phones.

How do I play notes?

Click a key or drag across several keys. You can also press A S D F G H J K L and the semicolon key for white keys, and W E T Y U O P for black keys.

Why does a higher note have a shorter wavelength?

Wavelength equals the speed of sound divided by frequency. Sound travels at about 343 meters per second in air, so a higher frequency gives a shorter wave.

What is concert pitch?

The A above middle C is tuned to 440 hertz. Each semitone up multiplies the frequency by the twelfth root of 2, about 1.0595.

Embed this simulation

Drop it into your LMS, blog, or class site — free.

<iframe src="https://kiwibee.io/en/simulations/piano-keyboard-3d-simulation/embed" title="Piano Keyboard | KiwiBee" loading="lazy" allowfullscreen style="width:100%;height:min(70vh,620px);min-height:420px;border:0;border-radius:16px"></iframe>

Curriculum standards

Cambridge

Learning objectives © UCLES (Cambridge University Press & Assessment), quoted with attribution.

Bring interactive science into your classroom

KiwiBee's free teacher workspace brings lesson planning, worksheets, classroom tools, and gradebook together in one place.

Start free and create your first class

or explore the teacher workspace →