Skip to content

PianoToLife 9.0.2

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


doctae

Thanks—that explains it. I expanded the regions to reproduce NOIRE MAIN KSP’s velocity-dependent gain while preserving Kontakt’s sample selection. The goal was a controlled Kontakt comparison before applying PTL processing. We’ll retain the native layers and evaluate PTL’s dynamics separately.


PASHKULI

this one has a 'tinnitus' effect right after the attack (and the others too) compared to "real-steinway-b". Real in what way? Was it recorded with a mic (it seems) so it is 'mic-real'.


OlivierW

doctae Thanks, that makes sense, and it matches what I found.

With the regions expanded per velocity, many regions point to the same WAV files. The current SFZ import analyses each region on its own and places them in a way that gets much slower as the region count grows, so a file like yours can freeze PTL for a long time. That's on my side, not yours. In the next update I'll make the import analyse each WAV only once and speed up the placement.

One thing I don't quite get, though: as far as I know, Noire is a Kontakt library, not an SFZ one, and its scripts are locked.

About the dynamics: keeping the native layers and evaluating PTL's dynamics separately is the right approach, but don't expect it to match the Kontakt script. PTL's dynamics are calibrated on the range of real acoustic pianos, not on the range many VSTs use. A lot of virtual pianos exaggerate the extremes, with very quiet ppp and huge fff, which a real piano doesn't do. In PTL, a soft note stays a real soft note and a loud one stays a real loud one, so the instrument plays like the piano in the room. If you need a different feel, the velocity curve window (the icon next to "sent") and KEYBOARD RANGE let you adapt it to your controller.

Thanks again for the detailed tests, they're very useful.


doctae

Thanks, Olivier. The SFZ is my own export of the native key and velocity ranges, sample assignments, and zone gains from Kontakt. I generated the expanded version as a diagnostic to approximate NOIRE Pure’s velocity-dependent gain and compare the rendered output against Kontakt. For the playable PTL version, I’m using the native layers and evaluating AUTO DYN2 and AUTO COLOR separately.


OlivierW

doctae What's new in 10.9.0
Take the room out of your samples: SAMPLER DRY / DENOISE.

Born from our research on modelling recordings of real pianos, this is one of the most powerful functions of PianoToLife: a piano recorded in a room that rings too much, or that does not suit your music, can now be freed of it and placed in the room you choose.

DRY (SAMPLER > EDIT, button DRY / DENOISE..., for the microphone selected): PianoToLife finds the partials of every note on the sample itself and keeps their real content — the beating of the unison strings included — and takes out what lies between them: the room, the hiss, part of the body. The strike stays the original: DRY waits until the knock, the case and the neighbouring strings have faded (80 to 600 ms, measured on each sample), then comes in gradually, so 100 % is safe. Then put a light Ambience back: one clean room for everything PianoToLife plays and adds.
DENOISE: light and careful — the hiss is measured on each sample and lowered by 12 dB at most, smoothed in time so that it never warbles.
Listen before you make it: choose a key and a velocity — A6 by default, the room is easiest to hear in the treble; with SHOW BY MIDI, the key you play — and compare ORIGINAL and PROCESSED.
MAKE "-dry": the samples of the microphone, processed, go into a separate container beside the original one, in 24-bit FLAC (lossless: the cleaned tails go below the 16-bit floor). The original samples are never touched; MAKE always starts again from them.
MIC n plays: ORIGINAL / -DRY, microphone by microphone, saved with the instrument and the preset. If the -dry file is gone, or a sample is missing in it, the original is played — and the -dry comes back with the file. A -dry file beside the original is found on its own.
After switching to -DRY: make a new Piano Model capture (.srpiano), then run AUTO CAL of Resonance and of Ambience again — they were measured on the sound with its room. The Ambience AUTO CAL then finds no room (Room Small): choose the room you want.
Also in 10.9.0

RANGE (AUTO DYN window, once the analysis is done): the dynamic range of the whole keyboard, −10 to +10 dB — as between a finely regulated piano and a less even one. v127 does not move, the layers played stay the same: only the levels change, along the reference curve. A new AUTO DYN puts it back to 0: set RANGE after the analysis.
AUTO COLOR follows RANGE: a velocity made softer is aimed at a darker colour, a louder one at a brighter colour, as on a real piano.
AMBIENCE AUTO CAL now recognises a piano made dry: no room found, Room Small.
SFZ and Decent Sampler import: much faster for instruments with many regions on the same files.
Fix: after several saves, MAKE or big pianos loaded in a row, the sound could stop until PianoToLife was reopened.
Instruments saved with 10.9.0 still open in older versions, with their original samples (without RANGE).
SAMPLER EDIT: the DRY / DENOISE panel


OlivierW

PianoToLife 10.9.0: take the room out of your samples :

Born from our research on modelling recordings of real pianos, 10.9.0 brings what I think is the most powerful function of PianoToLife so far: DRY / DENOISE (SAMPLER > EDIT).

A modelled piano sounds clean: no room, no hiss, nothing but the instrument. What it has to recreate is the grain: the real strike, the real strings, the unison strings beating against each other. A sampled piano has that grain for free, but it also carries the room it was recorded in, and its hiss.

DRY takes the room and the hiss out and keeps everything else: the partials of every note with their beats, and the original strike (protected automatically, so 100 % is safe). I compared an old sampled grand made dry with a piano recorded in an anechoic room: it sounds as if both had been recorded in the same room. As clean as a modelled piano, with the grain of a real one.

Then put PianoToLife's own reverb back on it, the Ambience. It gives the piano back a little wet, a little air, but clearer and more coherent than the room it was recorded in. The recorded room came with its hiss, its uneven reflections and its own colour, laid under every note. The Ambience starts from a clean piano and adds one clean, even room, the same for the strike, the sympathetic resonance and the release. Nothing blurs, nothing doubles: you hear one piano in one room.

How to use it:

  • DRY / DENOISE... in EDIT: choose a key and a velocity (A6 by default: the room is easiest to hear in the treble) and compare ORIGINAL and PROCESSED.
  • MAKE "<name>-dry": the processed samples go into a separate 24-bit FLAC container. Your original samples are never touched.
  • MIC n plays: ORIGINAL or -DRY, for each microphone.
  • Then make a new Piano Model capture and run AUTO CAL of Resonance and Ambience again (the Ambience AUTO CAL then finds no room: choose the room and how much of it you want).

Also in 10.9.0: RANGE (±10 dB of dynamic range on the whole keyboard, in the AUTO DYN window) with AUTO COLOR following it, a much faster SFZ / Decent Sampler import, and a fix for the sound that could stop after several saves.

Download (free, Mac and Windows): https://github.com/owfrappier/PianoToLife/releases/latest


Nyoooooom

@OlivierW Hello!, sorry to disturb you, but would it be possible to make it so we can type in our own value here?

Thank you very very much for your work again!


« Previous Page Next Page »