Yamaha VRM technology

I would love to write a “PJ explains all about VRM” article, but the more I learn, the more I recognize the breadth and depth of the technology. If you would like to know more about Yamaha’s Virtual Resonance Modeling from a player’s perspective, please see my earlier article about VRM

Sampling and modeling

We know that a relatively number of (short) piano samples by themselves sound flat. Virtual piano instruments such as those in the Vienna Symphonic Library go to great lengths to create rich, deep, evolving and playable piano tones. The VSL CFX grand boasts “up to 4,200 samples per key for maximal authenticity and liveliness.” The end result is a ginormous 115GB installed CFX library. Oh, hell, why not go for the full library at 240GB? 🙂

Massive libraries such as these would steer hardware instrument designers into solutions that really aren’t intended for low-power, light-weight electronic instruments. PC technology, that is. You could characterize the VSL approach as space-intensive. Sample playback also depends upon stable, available (disk-to-)memory bandwidth and sample caching in order to reliably stream samples as commanded by the player.

Physical modeling, such as MODARTT Pianoteq, takes a compute-intensive approach. Pianoteq’s installed size is about 50MB. That’s 3 orders of magnitude smaller than VSL! It is overly simplistic to say, but Pianoteq computes what VSL plays back. Pianoteq is its own witness to the quality and faithfulness of its internal mathematical models.

Like massive sample libraries, physical modeling requires compute resources that are at odds with a low-power embedded system like a digital musical instrument. High throughput means high power, bigger power supplies, fans, cooling, and so forth. In a manner analogous to sample playback, physical modeling requires stable, available compute capacity to maintain a consistent polyphony spec.

Why VRM?

Yamaha’s digital piano synthesis is a hybrid approach. They build on (literally) decades of experience in sampling and sound design. This experience was forged in the era of small read-only memories when pianos where packed into memories that we now regard as ridiculously small (e.g., 8MB). The CLP-685 fits the CFX, Bosendorfer, EPs and whatnot into 512MB of NAND flash memory — 2 orders of magnitude less than VSL (roughly speaking).

Instead of sampling all possible playing/tone situations, VRM adds certain dynamic qualities back into the sample playback stream. Full VRM has five components:

  • Damper resonance
  • String resonance
  • Body resonance
  • Duplex scale resonance
  • Damper noise

VRM reacts to player gestures in real-time — the keys that are held down, pedaling, and so forth. Thus, VRM produces a more lively experience where sample playback along might sound monotonous.

Source: Yamaha

VRM is not alone in its fight against monotonous tone. Higher-end Yamaha digital pianos add techniques like transducers and soundboard emulation to enhance the playing experience. Digital pianos also rely on effects to add the spatial ambience (e.g., mic’ing and reverb) captured in ginormous sample libraries.

Compute resources

VRM involves a lot of real time computations; it, too, is compute-intensive.

VRM was first introduced in the Clavinova CLP-575 and CLP-585 digital pianos. The standard workhorse compute engine at that time was the Yamaha SWX08 processor. The SWX08 combines an SH-2A CPU core (host computer) and an unspecified number of AWM2 architecture tone generation channels. Yamaha added a heavy-weight SSP2 to the CLP-575 and CLP-585 designs for VRM processing alone. The SWX08 processor alone was not enough for VRM; a second SH-2A core (SSP2) was required.

I will say more about the internal designs in a future article. Suffice it to say, Yamaha eventually issued an SWX09 processor which is capable of both sample playback and VRM.

Yamaha VRM patents

I found two patents assigned to Yamaha by Eiji (Hidetsugu) Tominaga:

  • U.S. Patent 8,115,092 B2, February 14, 2012, Method for synthesizing tone signal and tone signal generating system
  • U.S. Patent 8,895,831 B2, November 25, 2014, Method for synthesizing tone signal and tone signal generating system

Tominaga-san is Yamaha’s resident expert in piano modeling. The two patents are very similar and both lay out the essentials of VRM.

Be forewarned — the mathematics are complex. The computations must be performed in real time and there are a lot of them. Yamaha does not add an extra processor to a product design just for kicks!

You might also enjoy these other Yamaha patents on related piano sound technology:

  • U.S. Patent Application 2014/0150624 A1, Yuji Fujiwara, et al, Recording and reproduction of waveform based on sound board vibrations, June 5, 2014
  • U.S. Patent 8,106,287 B2, Masahiko Hasebe, Tone control apparatus and method using virtual damper position, January 31, 2012
  • U.S. Patent 8,878,045 B2, Shinya Kosecki, Acoustic effect impartment apparatus and piano, November 4, 2014
  • U.S. Patent 8,729,376, Masahiro Kakishita, Musical sound synthesizing apparatus, May 10, 2014

The last patent is rather interesting. It describes a “sound deadener” to eliminate the effect of the sound board or other vibrating strings. You might want to add VRM to a stream of “pure” samples to avoid doubling up sympathetic resonance?

Virtual Resonance Modeling

So, what of the VRM models themselves?

The fully elaborated system consists of five, coupled, physical models:

  • Damper model
  • Hammer model
  • String model
  • Instrument body model
  • Air model

Results from each model are sent to one or more other models.

U.S. Patent 8,895,831 B2 Piano models [Yamaha]

The models take the actual piano structure into account, e.g., hammers hit one or more strings depending upon soft pedal behavior, etc. The piano cabinet, sound board, frame, bridges, bearings, and other vibratory components form the instrument body.

The models are driven by four input (controller) signals:

  • Key stroke data
  • Hammer velocity
  • Damper pedal stroke
  • Soft pedal stroke

The four input signals — controller data — vary over time. Results are computed for each time delta (a small time interval).

As to the mathematics, I recommend reading the patents. The math is dense and each model is fairly complicated.

The patents describe alternative embodiments (implementations). The full embodiment has the five models mentioned above. Other embodiments drop one or more models — no damper modeling, for example.

Modeling research

Yamaha aren’t finished yet. 🙂 If you’re curious about Yamaha’s on-going research, check out their Technologies page. One of the featured investigations is Physical Modeling and Simulation of a Piano. Yes, Tominaga-san and his compatriots at work. The page has some nifty visualizations of sound board behavior, air models and so forth.

  • “Physical model and simulation of piano touch”, Hidetsugu Tominaga and Juichi Sato, Tribologist Vol.62 No.10 pp. 623-628
  • “Physical model and simulation of a piano, Hidetsugu Tominaga, Juichi Sato, Makoto Minoda, Music Acoustic Research Group Materials 36(4), pp. 133-138

“Since the essence of piano performance lies in the interaction between the piano and the player, our ultimate goal is to build a physical model simulation technology in which the piano, air, and the player (fingers, ears, intellect, etc.) are one system.”

Further reading

The Yamaha patents cite several papers. If you’re a “casual” reader, you will find scientific papers to be more approachable than the patents! Here is a short reading list.

  • “Physical Modeling of the Piano”, N. Giordano and M. Jiang, Eurasip Journal of Applied Signal Processing, Vo. 2004, No. 7, July 1, 2004, pages 926-933
  • “The Simulation of Piano String Vibration From Physical Models to Finite Difference Schemes and Digital Waveguides”, Bensa, et al., Journal of the Acoustical Society of Ameria, American Institute of Physics, Vol. 114, No. 2, August 1, 2003, pages 1095-1107
  • “Numerical Simulation of Piano Sounds — Toward the Combined Analysis of Strings, Bridge and Soundboard”, Tomoki Hashimoto, et al., Institute of Electronic, Information and Communication Engineers, Japan Institute of Electronic, Information and Communication Engineers, Vol. 2000, No. 19, February 17, 2000, pages 1-6
  • “Model-based digital pianos: From physics to sound synthesis”, Balazs Bank and Juliette Chabassier, HAL Open Science ID hal-01894219, 12 October 2018
  • “Acoustics of pianos: Physical modeling, simulations and experiments”, Antoine Chaigne, Juliette Chabassier and Nicolas Burban, HAL Open Science ID hal-00873639, 16 October 2013
  • “Piano Wire Excitation”, D.E. Hall, Journal of the Acoustic Society of America, Vol. 92, No. 1, 1992, pages 95-105.

Just for fun!

Copyright © 2023 Paul J. Drongowski

Yamaha VRM vs. VRM Lite

Virtual Resonance Modeling (VRM) is one of one of Yamaha’s strongest differentiating technologies. Many of Yamaha’s home and portable digital pianos implement some form of VRM. Up to this point, the CP series stage pianos and other products in the synthesizer (music production) product families do not have VRM. Perhaps this will change in CP Gen 2. Yamaha arranger keyboards do not feature VRM, either. [Some synths and arrangers have a damper resonance insert effect. See “Synthetic fun” below.]

Yamaha Virtual Resonance Modeling [Source: Yamaha]

Sampled piano can sound lifeless even when the damper pedal is depressed. VRM adds a subtle dynamic quality to the overall sound. I tried turning VRM off via Piano Room while holding down notes with the damper pedal applied. There is a subtle difference in the sound. With VRM on, the overall tone (such as the P-515 or DGX-670) is fuller, more dynamic. Personally, I find the effect pleasing enough to regard it as a “must have” feature.

In slightly more technical terms, VRM adds sympathetic resonances such that the piano tone grows (blooms) over the duration of the notes. Acoustic piano makers and technicians go to great lengths to add and tune pleasing harmonics through resonance. Acoustic pianos are incredibly complex machines in the scientific sense!

You’ve probably read Yamaha’s description of VRM on its web site or in an owner’s manual. If you’re unsure of what it all means, then I recommend doing the same experiment yourself and hearing the difference. [Get thee to a dealer.] Whether you like the effect (or not) is personal. If it doesn’t immediately strike your fancy, please read on. Some models let you tweak VRM depth in Piano Room.

VRM technology has evolved since its introduction in 2014. The first models with VRM were the up-scale CLP 575 and 585. Per usual Yamaha practice, VRM trickled out to lower-end models in the 600 series and to the CSP and CVP series. Another thing happened, too. Yamaha began referring to “original VRM” and “enhanced VRM”. Yamaha describes original and enhanced VRM in the following way:

The original VRM (CSP-150/170) calculates the various states of the strings for each of the 88 notes on the keyboard, from one instant to the next, and timing and depth of damper pedals pressed.

Enhanced VRM (CLP-635 / 645 / 675 / 685 / 665GP / 695GP) now also calculates aliquot resonance in the upper octaves, and the full resonance of the soundboard, rim, and frame.

The calculations require some heavy mathematics and are computational intensive. I’ll say more about this in a future post. I will say, now, that VRM is a substantial, technological achievment!

Lately, Yamaha have dropped “original” and “enhanced” in favor of “VRM Lite” and “VRM”. I contacted Yamaha support asking about the specific modeling components supported by VRM and VRM Lite. They replied:

  • VRM has five components in it:
    • Damper resonance
    • String resonance
    • Body resonance
    • Duplex scale resonance
    • Damper noise
  • VRM Lite has two components:
    • Damper resonance
    • String resonance

As you would expect, VRM Lite is a subset of VRM. I preseume “duplex scale resonance” means Aliquot resonance although technically the two are related, but not identical.

If your Yamaha digital piano has VRM or VRM Lite, you’ll have one or more VRM-related settings at your disposal in Piano Room and/or the Smart Pianist app. The DGX-670, for example, has three settings:

  • VRM effect ON/OFF
  • Damper resonance effect depth
  • String resonance effect depth

Thus, you can ditch VRM entirely, or individually control the amount of damper or string resonance. The latter two settings let you dial in the amount of each effect to suit your preference. P-515 (enhanced VRM) provides five settings:

  • VRM effect ON/OFF
  • Damper resonance effect depth
  • String resonance effect depth
  • Aliquot resonance effect depth
  • Body resonance effect depth

Special thanks to Dan (Yamaha Support) who chased down this information for me.

Synthetic fun

Yamaha Montage/MODX, Genos, and other Yamaha synths implement a Damper Resonance effect “that reproduces the rich harmonics and unique sound characteristics of an actual grand piano when using the damper pedal.” [Check the Data List PDF for your particular model.] The Damper Resonance effect depends upon the sustain pedal (Damper Control) — you must depress the sustain (damper) pedal to hear the effect.

For Montage/MODX cheap thrills, select the four-part “CFX Concert” Performance. All four parts assign Damper Resonance to insert effect A. The initial dry/wet balance is set to D21>W or thereabouts. Raise the dry/wet balance to D<W63 — full wet. Now when you strike a note and depress the damper pedal, you’ll hear only the sound of the damper resonance effect.

For further background information about the Damper Resonance effect, check out Half Damper Function, Damper Resonance Effect and Key Off Sample (Motif XF).

Copyright © 2023 Paul J. Drongowski

Here are my working definitions for Aliquot resonance and duplex scaling.

“Aliquot is a stringing method for pianos that uses extra, un-struck strings in the upper octaves to enhance the tone. These strings sympathetically vibrate with other strings in an acoustic piano, resonating with overtones, and adding richness, brilliance and complex color to the sound. Since they do not have a damper, they will continue sounding even after you release your hands from the keyboard.” [Source: Yamaha P-515 Owner’s Manual]

“Duplex scaling, built into some grand pianos, can be found on that portion of the string in the treble section between the back bridge pin and the hitch pin which is normally the non-speaking part of the string and dampened with a strip of cloth. Where there is duplex scaling this section is deliberately left open to resonate in sympathy with the speaking part of the string and add brightness to the upper partials.” [Source: Cambridge Piano Tuner]

These two Yamaha videos are still informative after 13 years: Stereo Sustain Samples and String Resonance.