Skip to content

PianoToLife 9.0.2

Nik

Hi Oliver, thank you for the project you're working on. For many people like me who play the piano digitally, this is certainly a wonderful surprise. I'm glad I had the opportunity to support your project.I own a Yamaha P-225, but I'm unable to reach the maximum MIDI velocity value of 127. Therefore, I have to adjust the velocity curve in my VST player so that I can reach the maximum value.However, I have a question: when I start calibrating the velocity curve in PianoTool Live, does your software take this limitation into consideration? Or should I first adjust the velocity curve in my VST player to compensate for the P-225's limited MIDI output, and only then calibrate the velocity curve using your software?


OlivierW

@nik @jdg78 -> ok you can set your keyboard min max limits in the big velocity windows in upcoming 10.8.0 :


OlivierW

PianoToLife 10.8.0 is out — https://github.com/owfrappier/PianoToLife/releases/latest

AMBIENCE AUTO CAL: your piano's own room
Your piano was recorded in a room, and that room is part of its sound. Everything PianoToLife adds (sympathetic resonance, release, noises) used to ring in a room you picked by ear. Now click AUTO CAL next to Ambience: PianoToLife plays a few high notes held, listens between their partials where only the room rings, and finds how long your piano's room rings and how loud it is. The new Room Auto then puts everything PianoToLife adds in the same room as your piano, at the same level — your piano's own sound is never touched. A few seconds offline in the standalone. On my pianos the effect surprised me: the piano's own room comes out instead of being blurred. The Ambience slider now goes from −6 to +6 dB around Default for fine-tuning.

Una corda LEVEL / TONE
Thanks to the suggestion here: click the SOFT pedal in the damper view (it reads settings) to set how much quieter (LEVEL) and darker (TONE, sampler mode) the soft pedal makes the notes. 0 = as measured on a concert grand.

A large velocity curve, with your keyboard's range
Also suggested here: the small icon next to "sent" opens the velocity curve in a large window, much easier for fine adjustments. At its bottom, KEYBOARD: many keyboards never send 127 — @Nik, this one is for your P-225. Click LEARN, play your softest and loudest notes, click DONE: the velocities your keyboard really sends are stretched onto the whole curve, so every layer is reached, the calibrated CAL curves included. Live playing only, and FULL brings back 1–127. No need to touch the curve in your VST player — keep it linear.

Also since 10.7.0: a SAVE button (no more dialog to overwrite your preset), right-click on the preset box to rename or trash it, and MIDI files can no longer change your instrument's volume (their volume / pan / expression / effects controllers are ignored, on by default).

About the felted piano idea: not for now, sorry — I prefer to keep PianoToLife focused on making a real piano behave like a real piano.

Manuals are updated (English and French). Enjoy, and tell me what you hear!

Oliver


jdg78

OlivierW Amazing! Thanks so much - can't wait to try it out.

On another thread, I was joking that version 10.8 would probably be released before I got a chance to download 10.7, and so it is... 😆


OlivierW

@jenpal now in 10.8.0 : .srpiano even in Host mode are analysed in light speed 🙂 and with resonance calibra. and ambience calib.


jenpal

OlivierW Fantastic. I will try it out later after work. Thank you. 😍


OlivierW

TIM Burton Update lol 😀


pipAT

@OlivierW

#1 In sample edit, 5 mic perspective are available. Will phase issues come if all samples are remapped by PTL? I know some developers claim their mics are phase aligned before releasing libraries. Is PTL auto phase aligned?

#2 Most samples nowadays are stereo or mono. Is PTL able to handle multi-channel audios? Some early libraries are surround maybe L+R+Ls+Rs or 5.1 channels. Just wondering.


OlivierW

pipAT Hi, good questions!

#1 Phase. One of PTL's real strengths is ALIGN ATTACKS: after the mapping, every layer of a key starts at exactly the same time before its strike, so switching layers never shifts the attack. Remapping by PTL does not create phase problems between microphones: the alignment is found on the key's first microphone, and the other microphones of the same layer take the same start, so their time relationship is kept exactly as recorded. With XCOLOR on, ALIGN ATTACKS also puts each layer in phase with the one below, so there is no comb filtering where layers blend.

There is no automatic phase alignment between different microphones, I hadn't thought of it. Mic positions are often meant to have their natural delay (that's the room). But you can do it by hand: in the MIX window each microphone has its own delay, so you can bring a far mic forward to line it up with the close ones, or keep its natural room delay. Thanks for the idea, I'll look into an automatic option.

#2 Multichannel. PTL works in stereo (mono files are played on both sides). I'm not planning 5.1 / surround: very few pianists play in surround, and I'd rather keep PTL a serious, solid stereo instrument. If a library has L/R/Ls/Rs files, you can split them into stereo pairs and load each pair as one of the 5 microphones (e.g. front pair = MIC 1, rear pair = MIC 2), then mix them in MIX.

Besides, there are almost no serious piano libraries in 5.1: nearly everything is stereo, often with several mic pairs — which is exactly what PTL's 5 microphones are made for

Oliver


pipAT

OlivierW

Thank you for keeping PTL's Piano Philosophy neat.


PASHKULI

OlivierW

So, what is with the '5 mics perspective' option then in PTL? 2 stereo + one mono (surround without the LFE subwoofer)?
Or 1 stereo + 3 mono (low, mid, high + room\player persd), or 5 mono.


OlivierW

pipAT about "autophase" between mics ;

#1 Phase. One of PTL's real strengths is ALIGN ATTACKS: after the mapping, every layer of a key starts at exactly the same time before its strike, so switching layers never shifts the attack. Remapping by PTL does not create phase problems between microphones: the alignment is found on the key's first microphone, and the other microphones of the same layer take the same start, so their relationship is kept exactly as recorded. With XCOLOR on, ALIGN ATTACKS also puts each layer in phase with the one below, so there is no comb filtering where layers blend.

Libraries usually come with their microphones already aligned at the attack — that's how publishers prepare them — and ALIGN ATTACKS keeps that alignment while lining up every layer, so there is nothing more to fix automatically. The MIX delay is there if you want to adjust by ear: each microphone has its own delay.

#2 Multichannel. PTL works in stereo (mono files are played on both sides). I'm not planning 5.1 / surround: there are almost no piano libraries in 5.1, very few pianists play in surround, and I'd rather keep PTL a serious, solid stereo instrument. If a library has L/R/Ls/Rs files, you can split them into stereo pairs and load each pair as one of the 5 microphones.

On the other hand, some pianists ask for a true mono output (a single speaker, a stage monitor, a mono PA), and I'm thinking about a proper mono option — done carefully, since simply summing spaced microphones creates phase holes


OlivierW

pipAT 10.8.1 is out :

https://github.com/owfrappier/PianoToLife/

OUTPUT: stereo, swap or a real mono; an output level meter; a VSL-style stereo image for each microphone.

OUTPUT (in place of the SWAP L-R box): STEREO, SWAP (the audience's side), MONO (left + right),
MONO L / MONO R (one side on both outputs: with spaced microphones the sum sounds hollow, one side does
not). For a single speaker, a stage monitor or a mono PA. HOST and SAMPLER, everything PianoToLife plays. Loading a
preset never changes it; ALL DEFAULT puts it back to STEREO.
Level meter: what really goes out, after VOL, OUTPUT and the Ceiling — L / R, RMS body, peak line, highest peak
held, red above −1 dBFS. Light on CPU.
One output line: CEILING, OUTPUT, VOL and the meter now sit together on the DAMPER MECHANICS title line, in the
order of the sound. In the compact view: VOL, OUTPUT and the meter in the right column.
MIX (SAMPLER): Stereo for each microphone, in place of Pan and Width: drag the L and R points where the
left and right channels should go, or drag between them to move the whole image — apart = as recorded, closer =
narrower, crossed = mirrored, together = mono at that place. Constant power: the image moves without losing level.
WIDE (100–200 %) widens beyond the recording. Older instruments are converted.



doctae

Hi Olivier—I'm encountering SFZ import freezes in PianoToLife 10.8.0 on Windows, both standalone and VST3 in REAPER.

  • One key, 127 single-velocity regions: imports and renders successfully.
  • Twelve keys, 264 native regions: imports successfully.
  • The same twelve keys and 259 WAVs, expanded to 1,524 single-velocity regions with different gains: freezes.
  • Full-keyboard expanded SFZ, 11,176 regions: also freezes.

While unresponsive, standalone still uses about 6.3% CPU; total system RAM usage is 36% of 32 GB. Sequential SFZ imports replace the previous mapping, so importing in batches doesn’t combine them.

Is there a practical region limit or an issue with repeated references to the same WAV? Does the importer support amp_velcurve_N for expressing velocity gains more compactly?

I can provide the SFZ definitions and screenshots without the proprietary samples.


OlivierW

doctae something in this .sfz ... try to extract .wav before with another tool , and AUTO NAME i will look later i work on full modeling now


OlivierW

modeled Grand Hamburg B, upcoming 🙂


dikrek

OlivierW remember @CyberGene used Fable to produce a working theory with how to do a hybrid model? You’d still need some samples as the seed. Or are you trying to do it all modelled?


OlivierW

doctae Hi doctae, thanks a lot for this very precise report — and yes, please send me the SFZ files and screenshots (no samples needed), they will let me reproduce it exactly.

What I can already tell you from the code:

  • There is no hard region limit, but the importer is not built for that many regions yet. It analyses every region's sample separately (pitch, level and brightness, to check the mapping), even when several regions point to the same WAV — so 1,524 regions on 259 WAVs means 1,524 analyses, and 11,176 regions means a very long one. The placement step at the end also compares regions with each other, which grows very fast with that many. The 6 % CPU you see is most likely one core busy with that, not a real crash. In memory, a WAV used by several regions is loaded only once.
  • amp_velcurve_N is not supported (nor amp_veltrack). The importer reads the mapping: key / key range, lovel / hivel, volume / amplitude, tune / transpose, offset.

But more importantly, expanding into single-velocity regions works against the way PianoToLife plays a sampled piano. It treats each region as a real velocity layer: AUTO DYN, SOFT / MEDIUM / HARD TIMBRE and XCOLOR then shape the dynamics and the timbre between real layers, continuously, from the reference piano's measured curve. With 127 one-velocity "layers" per key that are really copies of a few recordings with different gains, all of that has nothing left to work with.

So I'd suggest importing the native 264-region SFZ, then setting the dynamics in PianoToLife: AUTO DYN (and XCOLOR for the transitions), plus the velocity curve if needed. If you were using the expanded version to reproduce a specific velocity-to-gain response, tell me what you are after — there may be a simpler way, and it will help me decide whether amp_velcurve is worth supporting.

I'll still make the importer handle large SFZs properly (each WAV analysed once, a faster placement step).

Oliver


OlivierW

dikrek Yes, I remember — and I think the best modelling necessarily starts from a real piano: its pedal-up notes are the seed. That's where the signature of a real instrument is: the attack of its hammers, its partials (their inharmonicity, their two-stage decay, the beating between the strings of each note), the way the timbre changes with velocity.

So the idea is to capture that complete signature from the samples, then keep only the piano itself: the recording's noise and the room are removed (the room can be measured and given back by PianoToLife's Ambience, or replaced by another one). Everything else is pure modelling — the sustain pedal and half pedal, the sympathetic resonance, the dampers and the release, the una corda, the room — which is what PianoToLife already does on top of samples today.

First tests on a single grand are very encouraging: the resynthesised notes are within about 1 dB of the originals over the first seconds, and the hammer can even be made more or less present without touching the rest of the note. Early days, though: the extreme treble still needs work.

Oliver


« Previous Page Next Page »