Skip to content

Examples

David Anderson edited this page Oct 27, 2026 · 7 revisions

The audio in these examples was generated using Pianoteq.

For comparison, I include versions without nuance. These do not reflect the composer's nuance markings, such as crescendo signs and 'ritardando'; such markings are imprecise. In these versions, all notes have MIDI velocity 64 and the tempo is similar to that of the nuanced version.

Composer Work Year With nuance Without nuance Source code Comments
Luciano Berio wasserklavier 1965 listen listen view view
Robert Helps Hommage à Fauré 1972 listen listen view view
Robert Helps Hommage à Rachmaninoff 1972 listen listen view view
Robert Helps Hommage à Ravel 1972 listen listen view view
Beethoven Sonata op. 57, 3rd mvt. 1804-1805 listen listen view view
Chopin Prelude no. 8 1838-1839 listen listen view view
Chopin Nocturne op. 9 no. 1 (short excerpt) 1831-1832 listen listen view

Background and goals

As a freshman at Wesleyan (in 1973) I was working on the Appassionata, a difficult piano piece by Beethoven. I could play it, but not the way I wanted it to sound. Wesleyan had a computer music lab, and it occurred to me that I could use computers to play it how I wanted - what we now call 'virtual performance'. But that wasn't possible using the analog synths at hand. Cheap MIDI synths appeared later (e.g. Yamaha FB-01) but they didn't sound remotely like pianos. Time went by, and Python and Pianoteq appeared. Using them, I developed Numula and created virtual performance of the Appassionata and other pieces.

I chose this set of pieces because a) I love them and b) they span a range of musical styles, and hence require a range of capabilities from Numula. But the set is by no means comprehensive. Every piece I've worked on has required extending Numula. I'm currently working on some Bach pieces, which need features for describing ornaments.

I don't view the renditions as perfect or complete. One nice thing about virtual performance is that I can return to a piece after time has passed, and resume working on it without having to regain the physical ability to play it.

wasserklavier, from Six Encores by Luciano Berio.

The score.

The Numula version uses Pianoteq's 'Bösendorfer VC Classical Recording' preset.

A couple of human performances:

This was the first piece I rendered with Numula. I added a versatile feature for rolling chords. It doesn't use features (like measure numbers) that I added later.

The music divides pretty cleanly into left and right hands parts, each of which is mostly sequential (i.e. has no overlapping notes). The score has 6 lines, and I divided things into functions accordingly; rh5() is the 5th line of the right hand. I tagged notes with line1, line2 etc. so that I could select them in nuance selector functions. I tagged the RH notes with rh so that I could roll RH and LH notes separately.

I emphasize top notes (those tagged "top") fairly strongly: 1.2. The synthesizer I'm using (Pianoteq) seems to play lower notes louder. I tagged a few notes with "more" and "less", and adjusted their volume accordingly.

I added a normally-distributed time offset with stddev .015 sec to give it a human feel.

3 Hommages by Robert Helps

I love these pieces, but I can barely play the first two, and I can't play the last one at all.

Hommage à Fauré

This uses Pianoteq's 'HB Steinway D Classical Recording' preset.

New Numula features:

  • Rhythm pattern notation, e.g. <1/2 1/4 1/4>.
  • The ability to change measure durations mid-piece.
  • Overlapping notes in score shorthand.

The piece breaks into 3 parts (soprano, alto, tenor) fairly well. I use a bass part for the leftover notes.

Helps says to play this with lots of rubato and a wide dynamic range. My rendition has a fair amount of both, but I could have done more.

Hommage à Rachmaninoff

This uses Pianoteq's 'HB Steinway D Classical Recording' preset.

New features:

  • Virtual sustain pedals: I use them in the lower voices but not the soprano.

Hommage à Ravel

This uses Pianoteq's 'HB Steinway D Classical' preset, which has a more ethereal sound than the Recording variant.

I used measure markers extensively. This was so useful for detecting timing errors that I went back and added it to the other pieces.

Piano sonata op. 57 by Beethoven (Appassionata), 3rd mvt.

The score.

  • The first 20 measures seem to me like a transition, not part of the movement. So I skipped them.

  • The development and recapitulation are repeated, with first and second endings on the repeat. I divided the piece into sections to avoid duplicate text.

  • The exposition and and recapitulation have mostly the same structure. I factored the nuance specifications so that I could use the same ones for each part.

  • Almost everything (score and nuance) are encoded using shorthand notations; in fact I developed these notations to make it feasible to do this piece.

  • The nuance specifications are structured as described here.

Prelude no. 8 by Chopin

This uses Pianoteq's 'NY Steinway D Classical Recording' preset.

Of all the examples, this was the hardest to develop convincing nuance for. Take the first beat in the RH: what are the relative volumes of the 8 notes? Rich Kraft describes this as a sort of 8-dimensional optimization problem.

I spent a lot of time on the first two measures, trying countless combinations of timing and volume parameters. I developed Numula's 'Interactive Parameter Adjustment' (IPA) feature to facilitate this, though in the end I didn't use it much.

After flailing for a while, I realized that I didn't have a clear mental model of what I wanted. So I made graphs showing how emotional dimensions - like the 'anxiety level' - change over time. This helped a lot.

Clone this wiki locally