Skip to content

PianoToLife 9.0.2

pc-king

OlivierW There are no half pedal samples. And the release sample by VSL is played in any position of note end.


OlivierW

pc-king so play with synchron player, it’s for you. I prefer match Pianoteq and real piano behaviour. Have a Nice day


PASHKULI

pc-king Unfortunately, the bug from the last video is still present. The two moments at which the key is released in the video should never produce such a difference (both PTL with the same settings, host mode with VSL, release samples on at -3 dB).

So, at 'midi note off' there is a 'release sample' triggered (always) for that key (or all keys with 'note off').
The resonance won't stop if pedal down data is present (maybe a range from 0 to 20 out of 128 should be ignored or?, like a default 'weight of foot on pedal'). Just guessing how it is on pianos. But regardless, all pedal down (dampers up) note samples will have resonances captured by the mics anyway.
So, mic samples capture the resonances of cabinet after the pedal has been released (up) and probably that tail gets deleted anyway.

@OlivierW
PTL's symp. resonances are for strings only (or does PTL include cabinet self resonances?). Shouldn't sustain (sustenuto) pedal take precedence over key release (note off) part of the sample? Really confusing how sampling a piano works and what elements get overlaid for proper sound output.

Each piano library might be set up differently (scripts). A bit corfusing because those mics capture any acoustic element present during recording (especially pedal down) — note pitch (string), symp. resonances, cabinet+frame resonances, room too. Then they have overlaid symp. reso parameter (synthisized or sampled). A beautiful mess, if I am not missing on something as I have not sampled a piano.
Would love to here input on this from @dore_m


OlivierW

I don't want to repeat myself, but I absolutely don't use samples for resonance and release, because I'm only in favor of samples for the main notes. The rest involves millions of possible resonance combinations that only a modeling engine based on the main sound can produce. Release samples are often exaggerated and inaccurate, especially since a piano, as it shifts and ages, doesn't have (or no longer has) the same resonances. Resonance isn't static.

Pedal-up samples already contain everything needed in terms of data, harmonics, and the piano's acoustic signature: the cabinet, the full duplex, the strings, the soundboard, and the undamped keys. Even a single pedal-up note sample contains the beginnings of resonance, a symptom of the piano itself and its signature. PTL uses this in real time, based on the pedal-up sample being played.


pc-king

PASHKULI Hello PASHKULI

Yes, that’s correct. I wasn’t referring to pedal-down samples at all - PTL doesn’t play those with VSL. I’m also not comparing sample-based resonance with simulated resonance - the winner there is clear. The point is simply that the way the sound develops (see video) differs significantly depending on whether the key is released when the pedal value is 0, or 0<x<50. That is not realistic. What has been said applies only to the situation where the pedal is pressed again afterwards (see video). Otherwise, there is no difference.
And I don’t see using it to playback MIDI files - rather than for live performance - as a misuse.


OlivierW

pc-king i will compare with Pianoteq.... now , but you don"t know the time it's take, be more patient


pc-king

deleted


OlivierW

pc-king I tested exactly this. The same C3-G3-E4 chord is played four times; the keys are released with the pedal at 0, 20, 40 or 60, and the pedal is pressed again 150 ms later. Rendered in PTL HOST (VSL), PTL SAMPLER and Pianoteq D. The MIDI and the three WAVs are attached.

Level in dB relative to the strike, for a release at pedal 0 / 20 / 40 / 60 (keys released at 1.5 s, pedal pressed again at 1.65 s):

Pianoteq

  • 1.6 s: -28 / -29 / -29 / -24
  • 1.9 s: -39 / -38 / -38 / -30
  • 3.5 s: -44 / -44 / -44 / -37
  • 6.0 s: -51 / -52 / -50 / -43

PTL HOST (VSL)

  • 1.6 s: -26 / -27 / -20 / -16
  • 1.9 s: -36 / -36 / -29 / -22
  • 3.5 s: -40 / -40 / -37 / -30
  • 6.0 s: -46 / -46 / -47 / -41

PTL SAMPLER

  • 1.6 s: -34 / -34 / -27 / -21
  • 1.9 s: -37 / -37 / -30 / -23
  • 3.5 s: -41 / -41 / -44 / -37
  • 6.0 s: -48 / -48 / -52 / -44

What this shows:

  1. Releasing at 0 or at 20 gives exactly the same result, within 0.1 dB, in Pianoteq and in PTL (HOST and SAMPLER).
  2. After the pedal is pressed again, Pianoteq also keeps the caught strings and the resonance, at about the same level as PTL (1-4 dB apart).
  3. The only difference is at 40. With PTL's default Half Pedal Damping Start of 25, 40 is already half pedal, so the strings are partly free and ring a little longer. In Pianoteq, 40 still sounds exactly like 0; its half pedal starts somewhere between 40 and 60. At 60, both hold the notes.

So this is not a bug, just where the half pedal starts. If you want it to start later, simply raise Half Pedal Damping Start (and Full if needed) in the PEDAL section, for example to 45-50. Everything below that value then behaves exactly like 0.

test-relache-pedale-0-20-40-60-repedale-d-pianoteq.flac
test-relache-pedale-0-20-40-60-repedale-ptl-host.flac
test-relache-pedale-0-20-40-60-repedale-ptl-sampler.flac

test-relache-pedale-0-20-40-60-repedale.mid
197B

OlivierW

@pc-king I rendered your 1.mid again, unchanged, in Pianoteq D, PTL 10.5.6 HOST (VSL D-274) and PTL 10.5.6 SAMPLER (VSL D-274). The three WAVs are attached. Levels in dB relative to the loudest moment of each file:

  • Quick pedal changes (0-1.5 s): Pianoteq 0 to -10, PTL HOST -1 to -6, PTL SAMPLER -2 to -8.
  • Pedal held, decay (2 s / 3 s / 3.9 s): Pianoteq -13 / -19 / -24, HOST -10 / -16 / -22, SAMPLER -12 / -21 / -23.
  • Pedal fully up (4.2-4.5 s): Pianoteq -42 / -43, HOST -37 / -40, SAMPLER -35 / -37.
  • Pedal at 56 until the end (6 s / 8 s): Pianoteq -20 / -31, HOST -15 / -30, SAMPLER -16 / -33.
  • Tail (12 s / 20 s): Pianoteq -40 / -50, HOST -44 / -58, SAMPLER -46 / -59.

So the pedal behaves the same way: quick pedal changes, damping, catching and re-pedalling follow Pianoteq within 2-4 dB. There is no bug.

The difference in colour, and the longer tail in Pianoteq, comes from the instruments themselves. Pianoteq tends to idealise the sustain of a note, while the VSL sample decays faster. I measured it on the G2 held at the end of your file: VSL's own pedal-up sample loses about 30 dB in 2 s, Pianoteq's about 11 dB. PTL plays the VSL sample as it is.

I deliberately don't compare with VSL's pedal-down samples. At the same velocity they ring about 15 dB louder than the pedal-up ones after a few seconds, which in my view is a sampling anomaly. Since that difference is recorded into the samples themselves, it can easily distort any comparison made with VSL's own pedal.

And if you want the half pedal to start later, as in Pianoteq, simply raise Half Pedal Damping Start (for example to 45-50).

1-pianoteq.flac
1-ptl-vsl-d-host.flac
1-ptl-vsl-d-sampler.flac

1.mid
1kB

pc-king

Thank you for your efforts. I like the way Pianotec behaves (though not its sound). We’re getting closer. As it happens, the pedal value when the key is released is 56, while my lower threshold for half-pedaling is 55 in this instance. Adjusting that threshold only helps for this one specific note - but this note is just one example among thousands that end up sounding completely different, depending on the exact pedal value at the moment the key is released.

Perhaps this new observation will help: it actually makes a difference whether or not the pedal is already pressed when the key is struck.
This time with VSL release samples off.


dore_m

Truthfully, I have not read through this thread in great detail, but from what I skimmed, yes, being a developer is rough as @CyberGene says - and I'm not a SW engineer. Luckily robotics and piano libraries overlap enough for me.

PASHKULI note pitch (string), symp. resonances, cabinet+frame resonances, room too. Then they have overlaid symp. reso parameter (synthisized or sampled). A beautiful mess, if I am not missing on something as I have not sampled a piano.
Would love to here input on this from @dore_m

That's right it is a beautiful mess. When the pedal is down (dampers up), the mics pick up ALL of the SR the piano is producing. The mess happens when the pedal is up (dampers down), and the open strings are open because your fingers are holding the keys down. it's these "resonance interactions" between single keys that make it complicated and difficult if not impossible to use samples to recreate. (edit: well, not impossible- PTL is doing it using filtering - maybe just impossible in sampling platforms). I've found that Modern D does it this way (with sampled note pairs), but it only triggers the most resonant pairs (fifths, fourths, thirds). Dissonant pairs are not triggered at all, because recording these makes the sample library really big. The number of permutations is huge.

Which brings me to a difference in philosophy between me and everyone else in making these libraries. Most everyone is obsessed with making the piano sound better. I'm obsessed with making the piano sound REAL. And for the libraries that I have made (recorded myself), I have real recordings of the open key pair SR, that I've re-created using additive synthesis. So I KNOW that the re-creations are of high quality because I can compare to the recordings of the actual instrument. My SR engine does that in the only way that Kontakt can do it.

Kontakt cannot do what PTL does, which is an equally interesting approach. In theory, I might be able to replace my SR engine for PTL and then tune it with the recordings that I have to make it sound exactly like the original instrument. I was thinking of trying, but I've been busy with other things.

But anyway, call me stubborn - my ideal piano library is one with zero controls. It just plays, feels, and sounds like the real piano, even if the real piano is imperfect. I had to add the controls because others would want to tune it to their liking. But typically my concert preset in all of my libraries is as close as I could get to real. So all of you who like to turn up this or that knob to get more or less of one effect or another - more power to you.

And from my quick skim of some of the topics in this thread - yeah, controlling the sound due to pedal and key inputs are a difficult state problem to re-create. it's where my bugs are too.

Incidentally, I upgraded most of my libraries recently to have more accurate SR (using additive sine waves and FFT analysis). AI helped me refactor and be more accurate.


dore_m

Just catching up on some of this, seems that PTL now has a sampler built in. I could see why you would want this. But I am also thinking, as a dev myself, if I like giving others the ability to re-sample my hard work. I guess if the libraries are not distributable, it seems ok.


OlivierW

dore_m Thanks for this detailed explanation, I'm taking note of all your points. The key-pair resonance with the pedal up is exactly the hard part, and I share your goal: real rather than "better".

If you ever try PTL on one of your libraries, I'd be very interested in comparing it with your real recordings of held key pairs. That's the kind of reference I'm missing today.


OlivierW

dore_m Good point, and I'm careful about it as a matter of principle. To be clear:

  • PTL has no feature to resample a hosted piano, and won't have one. The sampler plays samples you already have: your own recordings, or library files in open formats you have access to. It never reads encrypted formats.
  • What some users do (recording their own licensed instrument through a DAW) happens outside PTL, under that library's licence. I always remind them that it is for private use only, never to be shared.
  • Sampled pianos made for PTL can't be distributed publicly without prior authorisation. That's stated in every release.
  • - When a set is saved, its .wav or .flac samples are hidden inside a container, which can also be protected by a password, and by a secret licence key if needed.

So your hard work stays protected. And if a developer ever wants to offer an official PTL version of their library, that's something we can talk about.


dore_m

OlivierW So your hard work stays protected.

Thanks.

OlivierW If you ever try PTL on one of your libraries, I'd be very interested in comparing it with your real recordings of held key pairs. That's the kind of reference I'm missing today.

I've been busy with other stuff. Maybe while I'm on a business trip in the near future. The real recordings have a lot of inharmonicity and frequencies you wouldn't expect to be there, honestly. My original algorithm focused on matching the frequencies that are consonant (the overlapping harmonics), but that was only half of the excited frequencies - there is a bunch of stuff in there that was not consonant. So real recreations in this case are not just the ones that make the note pairs sound good. Some make it sound "bad" too.

And that's why I think that ModernD leaves out alot of the "bad" stuff - probably on purpose.


OlivierW

pc-king VSL player doesn't matter for me however, I just found a bug in damper damping during analysis, and it's very complicated....I'll try to fix this along with some other things for version 10.5.6.


pc-king

OlivierW Don't know what VSL player means... I always use reaper and PTL with VST3: VSL Synchron Concert D-274. Nothing else.



pc-king


OlivierW

pc-king don't understand , i see no pedal value in interface, midi monitor, midi ? don't understand what you try to say, or to do ? give me the midi


« Previous Page Next Page »