Skip to Content

A 21st Century Clavichord:

Exploring Clavichords as Precedent Studies for the Design of a Modern Portable Keyboard Instrument

Mathematically Defining a Keyboard Layout

The horizontal dimensions of the keyboard are derived from the octave measure (M)(M).The octave is divided evenly into 7 white key heads with widths of K=M7K=\frac{M}{7}. To determine the placements and width of the black keys, we must look at the octave in two sections: C-E (three white keys, two black), and F-B (four white keys, 3 black).

Starting with the later section we can find the centerlines of the black keys. If we divide the C-E span into 5 segments (for the five total keys) the two black keys will be centered within the second and fourth segments. This gives the horizontal locations of the centers of C# and D# in relation to the left edge of the octave as 3K51.5\frac{3K}{5}\cdot1.5 and 3K53.5\frac{3K}{5}\cdot3.5 respectively. The centers of the black keys in the second section can be calculated similarly by dividing the width of the F-B span into seven segments. As the locations are in relation to the left edge of the octave, the width of the C-E needs to be added. This gives F# a center at 3k+(4K71.5)3k+(\frac{4K}{7}\cdot1.5) , G# at 3k+(4K73.5)3k+(\frac{4K}{7}\cdot3.5), and A# at 3k+(4K75.5)3k+(\frac{4K}{7}\cdot5.5).

The width of the black keys (B)(B) is the average of the widths of the two sections’ segments B=12(3k5+4k7)B=\frac{1}{2}({\frac{3k}{5}+\frac{4k}{7}}). The edges of the black keys can then be determined by adding or subtracting B2\frac{B}{2} from their centerline, for example, the left edge of C# is at (3K51.5)B2(\frac{3K}{5}\cdot1.5)-\frac{B}{2}.

The exact calculations for the centerlines (of the back edge) of the white keys differ between notes but is the average of the right edge of the previous note and the left edge of the next. Two examples are as follows:

Centerline of C=0+((3K51.5)B2)2     =     1728KCenterline~of~C = \frac{0+((\frac{3K}{5}\cdot1.5)-\frac{B}{2})}{2} ~~~~~=~~~~~ \frac{17}{28}K
Centerline of G=((3K+(4K71.5))+B2)+((3K+(4K73.5))B2)2     =     317KCenterline~of~G= \frac{((3K+(\frac{4K}{7}\cdot1.5))+\frac{B}{2})+((3K+(\frac{4K}{7}\cdot3.5))-\frac{B}{2})}{2}~~~~~= ~~~~~\frac{31}{7}K
Spreadsheet calculating key edges and tangent locations based on octave span input.
SOLIDWORKS model to compare the keyboards of several historical keyboards