Sign-up to our newsletter

We are digital piano & keyboard specialists, based in Banbury, Oxfordshire. Stay up to date with the latest news, reviews, tips, and offers by joining our FREE newsletter (unsubscribe at any time).

Close
Closed Bank Holiday Monday
Menu

How does a Digital Piano work? – A Beginners Guide

May 11, 2021
8 min read

It’s all very well talking about Linear Graded Weighted Keys, Velocity sensitive touch, Key-off Sampling, etc, but what’s actually going-on on the inside of a digital piano? This blog aims to answer the mysteries of how digital pianos work.

Part 1 – Feel and Weighted Keys

So let’s start with the most commonly asked question: what makes a digital piano actually feel like an acoustic grand piano?

First, let’s take a look at the how the Key/Hammer mechanism works for a grand piano.

A Grand Piano Key Mechanism

I’ve simplified the mechanism substantially so it’s easier to see how it works fundamentally (Also note that the front of the key has been cut-off for the purposes of the diagram). So in short, you have a key which moves around a pivot point, or ‘fulcrum‘, which, when depressed, triggers an intricate lever mechanism which pushes against the hammer assembly.

The hammer head then strikes the string, and quickly recedes to allow the string to vibrate freely.

Yamaha’s NWX Key Action Mechanism (Source: Yamaha)

Now let’s take a look at Yamaha’s NWX key mechanism. Like with an acoustic piano, they have a key which moves around a pivot/fulcrum, and a ‘hammer’ triggered by a simple lever mechanism which instead of striking a string, hits a felt pad positioned above it. The hammers for this mechanism are steel hooks, and it is their weight which gives the key-bed a ‘weighted feel’ as they return to their resting position via gravity.

(In addition to this, the NWX keyboards also feature a spring under the key, to provide a more direct and instantaneous counter-force against the key).

In this case, the weight of each key is related to the length of the steel hook, so on models with graded keys, you will find longer hooks for the lower notes, and shorter hooks for the higher notes.

For the escapement mechanism, Yamaha have designed an ingenious solution to mimic the feeling of the hammer retracting from a string, without having to move the hammer at all. Instead they use a rubber membrane underneath the key, which offers a brief resistance when the key is almost fully depressed, giving the impression that the hammer has receded.

In order for digital pianos to remain compact and lightweight, in almost all cases, the keys are far shorter than those found in grand pianos, and the hammer mechanism is often found underneath them, triggered by the front of the key pressing down, rather than the rear of the key rising up.

The key-bed from Yamaha’s AvantGrand N3X (Source: Yamaha)

A noticeable exemption to this however is found in Yamaha’s Premium AvantGrand models, which effectively use a full grand piano hammer mechanism (excluding the NU models however, as these aim to replicate the lighter touch of an upright acoustic piano), providing the most realistic and authentic feel of any of their digital pianos.

Part 2 – Touch (Velocity) Sensitivity

As opposed to strings, the majority of digital pianos use electrical sensors or contact pads to detect when a key has been pressed. Below is a rubber contact strip which a key would press against to activate an electrical contact pad.

On the underside of the strip, you can see that they are coated in a conductive ink, which will trigger the electrical contact by effectively closing a circuit which correlates to the specific key (this is also a very similar way in which membrane keyboards for computers work).

But you might be wondering, how does the sensor know how loud I’m playing? Well you may have noticed there are two points on the contact strip which are coated in the conductive ink, which correspond to two pads for each key.

A Key contact circuit board (Source: Audiotronic)

The contact strip is positioned in a specific way so that the rubber strip presses down on one pad before the other. This allows the piano to measure the time between the two pads being activated, and after some fancy maths, it calculates the speed at which the key was pressed.

A small number of digital piano models however utilise different key trigger methods, and once again Yamaha’s AvantGrand models are a great example. Instead of a membrane and electrical contacts, they instead opt for a fibre-optic sensor, through which a small metal tab on the top of the hammer passes.

Without the need of any physical contact, the fibre-optic sensor is able to detect when the hammer has reached a certain position, and a what speed it was travelling, by detecting when the sensor was obscured by the metal tab on the hammer. This use of a contactless trigger also means there is no interference with the feel of the key action.

Part 3 – Samples

So now that we’ve got a nice feel, and the piano is able to determine how loud or soft we’re playing, how does this actually translate to sound being produced?

You may have heard that digital pianos will never go out of tune, but many people are often curious as to why this is.

When you press a key on a digital piano, it will play a ‘Sample’, which is a specialised sound file of an instrument playing the same note at the same volume. Samples for Yamaha’s CFX grand piano for example, will have been recorded on a hand picked CFX piano, in a certain room kept under very specific conditions.

A grand piano being recorded for samples for Native Instruments (Souce: Native Instruments)

It is common to use a configuration of multiple microphones when recording samples of (particularly acoustic) instruments, and especially for pianos, in order to capture the sound from every part of the cabinet and strings, as well as from different positions within the room in which it was recorded.

[featuredblog2]

 

Multiple variations of each note will then be recorded, from loud to soft and sustained to dampened etc, in order to build a vast spectrum of different volume intonations and range of expression for each.

When you play a note on a digital piano, multiple samples will be played from the real piano which was recorded, in order to provide an accurate note intensity, but also include more nuanced aspects such as the adjacent strings resonating next to the note you are playing.

Having a collection of multiple samples for each key not only improves the authenticity of sound, but also provides scope in allowing the player to tweak the sound of the piano as they wish, and alter different parameters such as the lid position.

An illustration of high vs low quality samples (Source: SlideShare)

It is important to note that the sample quality is a big factor in judging the quality of a digital piano, as more expensive models will have higher quality samples and/or better ‘sampling technology’ which take up far more space in the instruments internal memory. The sample quality is primarily affected by the data compression being used on the sample files, and to some extent, the microphones and room the instrument was initially recorded in can have an effect.

Part 4 – Speakers

So, we can replicate the feel of a real grand piano, and have captured its sound, but then how does do we actually translate this into the sound we hear from a digital piano?

For acoustic pianos, when a string is hit by a hammer, it vibrates, generating sound energy which is reflected inside the instrument, primarily off of a wooden ‘soundboard‘, which resonates in unison with the strings. It is the soundboard which gives acoustic pianos their distinct warm rich sound.

A soundboard from a Yamaha grand piano (Source: Yamaha)

But how does this work in a digital piano? Well, each digital piano model uses a specially designed speaker system to play the stored sample files.

Unlike with normal HiFi speakers, which are designed to play music and audio as close to the source material as possible, digital piano speakers are placed in specific locations, and are ‘tuned’, in order to give the most realistic sound compared to that of an acoustic piano. The N3X is a brilliant visual example of how its speakers are positioned in order to recreate the sound of a grand piano as closely as possible.

Where high end HiFi speaker systems are usually designed to have what is referred to as a ‘flat‘ response, digital pianos are designed to have a slightly ‘coloured‘ response, to match the harmonic qualities of an acoustic piano.

The upwards facing speakers on the Yamaha N3X (Source: Yamaha)

Because of this, if you were to plug your digital piano into a pair of professional studio monitor speakers, the samples would sound almost identical to the source recording, but it would not replicate the effect of actually sitting in front of a grand piano and playing it for yourself like the digital piano would.

In Yamaha’s high spec digital piano models, including the CLP775 and CLP785, they have also introduced the use of tactile transducers. These are devices which work similar to speakers, but instead of using a cone or diaphragm to produce sound, they attach directly to one of the panels of the digital piano, causing the entire panel to vibrate, replicating the effect of a soundboard on an acoustic piano.

[featuredblog]

I hope you found this blog helpful, take care everyone.

Sign up to our Newsletter

Enter your email address below to receive our free weekly newsletter containing the latest piano, keyboard and organ demonstration videos, breaking news, special offers, invitations to our live video events, technical support articles and much more.

Newsletter sign-up preview
Chris Hammond
Chris Hammond
Manager at ePianos
Chris handles all of our ePianos marketing, and is responsible for the creation and production of the majority of our product videos. Chris is also one of our top blog writers, having extensive knowledge of keyboard instruments, years of experience in musical instrument retail, and a background in live performance and composition.
chrisonpiano
[relatedblogs]

Comments:

  • It is always interesting to find out how something works & this article achieves its aim. As stated a beginners guide with not too much “technical data” which can be complexing for the reader, so congratulations to the author.

    Tom D

  • First class article Sam. Helped me understand the tech in my CVP-809 much better. For years now I’ve used my keyboards instead of buying a separate hi-fi system. Also as an amp for other instruments such as guitar & electric violin.

Leave a Reply

Your email address will not be published. Required fields are marked *

Tech issues causing delays - bear with us
Delivery information

Delivery Information

For more detailed information regarding delivery and returns, including our 14-day returns policy, please click here.

Please note: UK mainland DOES NOT include the Channel Islands, or the Scottish Highlands. Surcharges may apply, so please contact us for more information before purchase.

Additionally, our in-house team, courier delivery, and postal services neither deliver nor collect on Bank Holidays, so there will be a delay during these periods.

Special Order items

These items are sold on behalf of Yamaha, and are sent to us on a per-order basis, typically within 5-7 working days, unless an ETA is otherwise stated.

We'll contact you the moment your purchase arrives with us to organise delivery, based on your selected option.

Brand new products over 30kg

Example products: Yamaha DGX670, Yamaha P-525, Yamaha YDP-S55, Yamaha Clavinova.

These items must be sent with a heavy-goods courier (typically APC or FedEx). On occasion, depending on which is fastest, we will drop-ship directly from Yamaha to your address via Dachser.

Tracking will be provided by the haulier, with a typical arrival time of 1-2 working days.

*If you have included the optional £180 "Yamaha Premium Service" home delivery & setup option offered on selected products, we will contact you regarding arrangements after purchase.

**The Yamaha CSP Series, Yamaha CVP905 & CVP909, Yamaha CLP875, 885 & 895GP, and Yamaha NU1Xa are all sold on behalf of Yamaha and arrive with us on a per-order basis. As soon as your piano has arrived, we will contact you to organise the appropriate dispatch method. ETA for stock is shown on the product page for those items.

***If you have included the optional £99 home delivery & setup option offered on selected products, we will send your details direct to the installation team, who will contact you within 48 hours to make arrangements.

Used or display products over 30kg

Depending on which option is most appropriate, we will either contact you to discuss a bespoke ePianos delivery surcharge for goods we can’t package for a 3rd party courier, or otherwise dispatch goods via FedEx or APC.

If a courier is used, tracking will be provided by them directly, with a typical arrival time of 1-2 working days.

All products under 30kg

Example products: Yamaha PSR-SX920, Yamaha P-225, Yamaha NP-15.

These items will be sent via courier (typically APC or FedEx). On occasion, depending on which is fastest, we will drop-ship directly from Yamaha to your address via UPS or Parcelforce.

Tracking will be provided by the courier, with a typical arrival time of 1-2 working days.

Smaller items, such as books, discs, etc, will be dispatched via Royal Mail second class.

Downloadable Content

After purchase, you can download the file either from the order confirmation page or the "Downloads" tab in "My Account".

If you have selected the option to receive a pre-loaded USB stick, then this will be dispatched via Royal Mail.

Pre-orders

We will contact you regarding any pre-ordered items, and let you know when they arrive so as to arrange delivery with you at a convenient time.

Novuna Finance

We offer interest-free and interest-bearing finance options on selected products.

Finance options for new products
  • 2–5 years interest-bearing finance at 19.9% APR (minimum 10% deposit). A minimum loan amount of £500 after deposit is required.
Finance options for used products

Used items can also be purchased using either of the following options (minimum loan amount of £250 after deposit):

  • 10 months at 0% APR (minimum 50% deposit)
  • 6 months at 0% APR (minimum 10% deposit)
Representative Example
  • Cash price: £700
  • Deposit: £70
  • Loan amount: £630
  • APR representative: 19.9%
  • Interest rate: 19.9% p.a. fixed
  • 36 monthly repayments of: £22.87
  • Total loan term: 36 months

Total amount payable: £893.32


Available finance options are displayed at checkout. Alternatively, please get in touch and we’ll be happy to discuss the options, or email a finance application to you. Find out more by clicking here

Seasonal Hours

Seasonal Hours

Our seasonal opening hours are as follows:

  • Christmas Eve: 10am to 1.30pm
  • Christmas Day: Closed
  • Boxing Day: Closed
  • New Year's Eve: 10am to 1.30pm
  • New Year's Day: Closed
Bank Holiday Hours

Bank Holidays

We are closed on all bank holidays, therefore the processing of sales and deliveries will be delayed.

Please Enter a UK Mainland Delivery Postcode

Our calculator will indicate the charge for a visit from our in-house expert team:


Tyros Tipsters Logo

Tyros Tipsters Bonus Content for Tyros 5

Here's what we offer when you select the option to include our Bonus Content...
We update the firmware so that your Yamaha Tyros 5 is running on the latest version

We load in 600 registrations into the Tyros 5 which give you sound set-ups in your registration bank buttons for different genres of music

We add 1825 songs into the Tyros 5 Music Finder

We are pleased to be able to offer interest-free finance on selected products through Novuna Personal Finance, for a limited period only.

This offer is available on purchases of:

  • Brand New Yamaha Genos 2
  • Brand New & Used Yamaha SX920 (if purchased with bonus content & guide)
  • Used Yamaha SX900 (if purchased with bonus content & guide)
  • Used Yamaha Genos 1 (if purchased with bonus content & guide)

Get in touch to request a remote 0% finance application with or without a part-exchange using the form below:



Close

Available Bonus Content for SX720

Here's what we offer when you select the option to include our Bonus Content...
  • Latest Firmware
  • 27 Expansion packs which include 557 voices and 381 backing styles
  • 234 extra styles from Tyros 5
  • 600 registrations
  • 2673 song setups
  • Video showing where all the key features are
...and when you select the option to include our GenosTipsters Guide
  • We include our GenosTipsters guide (digital version) worth £99, featuring over 3 hours of video and 200 pages of written accompaniment.

Disclaimer – a proportion of this content is made available freely by Yamaha, for those fully competent and confident with using the required software to install it via computer.

Product order information

Information about this item

For orders of any stock displaying a 7-10 day lead time, we will contact you as soon as the item arrives with us to schedule a delivery with you.

Occasionally, there may be availability issues with our suppliers, in which case we'll get in touch with you to see if you're happy to wait, or if you'd like to cancel the order and receive a full refund.

Agency stock information

Information about this item

This is a special order "agency" item, and comes to us directly from Yamaha on a per-order basis.

It typically takes 7-10 days for this item to arrive with us, whereupon we'll contact you to discuss the arrangement of delivery.

Pre-order information

Information about this item

For any pre-orders, we will contact you as soon as the item arrives with us to schedule a delivery with you, and update you with an ETA.

Occasionally, there may be availability issues with our suppliers, in which case we'll get in touch with you to see if you're happy to wait, or if you'd like to cancel the order and receive a full refund.

Yamaha cashback banner

Get up to £250 cashback from Yamaha*

Yamaha is offering customers cashback on selected purchases until January 15th 2026 - here's how it works:
  • Purchase a qualifying Yamaha instrument before 15.01.26.
  • Complete the claim form following this link and have your proof of purchase and serial number ready.
  • Once your claim has been validated, you will be sent within 35 working days your cashback reward via bank transfer.

*Cashback amount varies product to product, as indicated.

Available Content for Genos 1

Here's what we include when you select the option to add our Bonus Content...
  • Latest Firmware
  • 23 extra expansion packs which include 877 voices and 577 backing styles
  • 234 extra styles from Tyros 5
  • 600 registrations
  • 4096 song setups
  • Video showing where all the key features are
...and when you select the option to include our GenosTipsters Guide
  • We include our GenosTipsters guide (digital version) worth £99, featuring over 3 hours of video and 200 pages of written accompaniment.

Disclaimer – a proportion of this content is made available freely by Yamaha, for those fully competent and confident with using the required software to install it via computer.

Genos Tipsters Bonus Content for SX900

Here's what we offer when you select the option to include our Bonus Content...
  • Latest Firmware
  • 14 Expansion Packs inc many extra voices and styles
  • 234 T5 styles
  • 600 registrations
  • T5 Music Finder
  • 15 Playlists with 2287 song set-ups
  • Video showing where all the key features are
...and when you select the option to include our GenosTipsters Guide
  • We include our GenosTipsters guide (digital version) worth £99, featuring over 3 hours of video and 200 pages of written accompaniment.

Disclaimer – a proportion of this content is made available freely by Yamaha, for those fully competent and confident with using the required software to install it via computer.

Available Bonus Content for SX920

Here's what we offer when you select the option to include our Bonus Content...
  • Latest Firmware
  • 25 Expansion packs which include 780 voices and 540 backing styles
  • 234 extra styles from Tyros 5
  • 600 registrations
  • 4256 song setups including 136 ‘Decades’ registrations
  • Video showing where all the key features are
...and when you select the option to include our GenosTipsters Guide
  • We include our GenosTipsters guide (digital version) worth £99, featuring over 3 hours of video and 200 pages of written accompaniment.

Disclaimer – a proportion of this content is made available freely by Yamaha, for those fully competent and confident with using the required software to install it via computer.

Korg Pa5X Bonus Bundle

Bonus Content for Korg Pa5X

Here's what we include when you select the option to add our Bonus Content...

  • Korg Bonus Styles (Taken from the Bonusware downloads on Korg UK website) – 450 styles
  • Korg Pa2x Internal Styles converted to 5x – 419 styles, all complete with 4 x Keyboard Sets
  • Korg Pa3x Internal Styles converted to 5x – 486 styles, all complete with 4 x Keyboard Sets
  • Korg Pa4x Internal Styles converted to 5x – 584 styles, all complete with 4 x Keyboard Sets
  • Korg Pa800 Internal Styles converted to 5x – 409 styles, all complete with 4 x Keyboard Sets
  • Korg Musikant 4x Internal Styles converted to 5x – 577 styles, all complete with 4 x Keyboard Sets
  • ePianos Songbook for Pa5x – A collection of over 200 well-known songs with 4 Keyboard Sets per song, giving in excess of 800 registrations
  • Latest Osimo Songbook from Korg
  • 3 x User Sound Packs from Korg
  • 6 x Korg Pa5x User Know How videos covering: "Power Up & Panel", "Selecting Styles", "Selecting Sounds", "My Setting & Favourites", "Mixer Basics", "Songbook", and "Recording"
  • How to Locate and Load the Various Software Bundle Components (Video)

Available Bonus Content for Genos 2

Here's what we offer when you select the option to include our Bonus Content:

  • Latest Firmware
  • 52 expansion packs which include 1,721 voices and 1,148 backing styles
  • 234 extra styles from Tyros 5
  • 816 registrations
  • 4256 song setups including 160 ‘Decades’ registrations
  • Video showing where all the key features are

Some of the best parts of our Bonus Content option are the 1,721 new extra voices and 1,148 new extra styles included across 52 expansion packs. These packs are quite complex to upload and, whilst free to obtain, we pride ourselves on getting them into your keyboard for you — something many dealers shy away from purely because of the time it takes to get them uploaded.

...and when you select the option to include our GenosTipsters Guide:

  • We include our GenosTipsters guide (digital version) worth £99, featuring over 3 hours of video and 200 pages of written accompaniment.

Disclaimer – a proportion of this content is made available freely by Yamaha, for those fully competent and confident with using the required software to install it via computer.