Skip to content

PianoToLife 9.0.2


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!


OlivierW

https://www.tiktok.com/@le_pianiste_olivier_f/video/7704125522279779616

OlivierW


pipAT

Nyoooooom

Yes, one click to modify and type values, two clicks to default.


pc-king

In an effort to track down the cause of the pedal error, I tried using Cubase and Studio One instead of Reaper. However, PTL freezes in both of these DAWs for no apparent reason, making it impossible for me to pinpoint exactly when it happens. For the time being, I am putting my project on hold.


OlivierW

pc-king

Thanks for taking the time to try three DAWs. But "pedal error" is a bit strong: so far I have no case that shows something wrong with the pedal itself, and I can't fix something I can't see.

About Cubase and Studio One: "it freezes for no apparent reason" doesn't give me much to work with. It would help me a lot more if you could tell me:

  • Windows or Mac, and which version of the system
  • the exact versions of Cubase, Studio One and PianoToLife
  • the edition and licence of each DAW (Pro, Artist, trial... activated through Steinberg / PreSonus): I can only test and support PianoToLife on genuine, activated installations, and modified or unlicensed copies of these DAWs are known to behave unpredictably with plugins
  • HOST mode (and which piano is hosted) or SAMPLER mode
  • when it freezes: when the plugin is scanned, when it is loaded, when you open its window, or while playing
  • the buffer size and sample rate

If you are on Windows, please try these first:

  1. PianoToLife is only code-signed on Mac. On Windows it isn't signed yet, so Windows security (SmartScreen / Defender) can hold the plugin while it checks it, and the DAW then looks frozen. Right-click PianoToLife.vst3 (in C:\Program Files\Common Files\VST3) > Properties > tick "Unblock" if it is there, and add that folder as an exclusion in Windows Security.
  2. Untick "Enable Multicore Processing" in PianoToLife: Cubase (ASIO-Guard) and Studio One already spread the audio over several cores themselves.
  3. Try SAMPLER mode once instead of HOST: in HOST mode PianoToLife loads another plugin inside itself, which some DAWs handle more strictly than Reaper.
  4. If it still freezes: while it is frozen, open the Task Manager, right-click the DAW > "Create dump file", and send me the file (WeTransfer or similar). It shows exactly where it is stuck.

With these details I can try to reproduce it here. Thanks!

Olivier



« Previous Page Next Page »