Skip to content

PianoToLife 9.0.2

OlivierW

pc-king I analysed it in detail. Here's what I found.

  1. The cut at the end was a bounce bug. Your MIDI file ends with two notes still held and the pedal at half, and the PianoToLife bounce stopped 3 s after the last MIDI event, so it cut them while they were still ringing. This is fixed in 10.5.4: BOUNCE, PLAY and REC now let the sound ring out until it has really died away.

  2. The pedal itself. I rendered the same test (a G2 at velocity 95 held 20 s, with the pedal up, at half and down) in the VSL player alone, VSL through PianoToLife, and Pianoteq:

    • Pedal up: PianoToLife gives exactly the VSL sound (within 0.5 dB).
    • Pedal down, on a held key: Pianoteq adds only 0-3 dB of sustain. That makes sense, because the key is down, so the string is already free and the pedal only adds a little resonance from the other strings. PianoToLife adds 0-4 dB, very close to Pianoteq.
    • VSL's pedal-down sample, however, rings about 15 dB louder than its pedal-up sample after a few seconds. These are two separate recordings, and that difference is much bigger than what a physical model gives, and in my opinion bigger than what you'd expect from a real piano.

My guess about why: in a sampling session, with the pedal down the key no longer has to lift the weight of its damper, so it is lighter to play. If the robot's force is not compensated for that, the same velocity is not played quite the same way pedal up and pedal down. This would apply to any piano sampled that way, not only VSL.

So PianoToLife follows a realistic model of the piano, not VSL's pedal-down recordings. Since it plays VSL's pedal-up samples and adds its own resonance, it will never reproduce that particular VSL difference, and that's on purpose. If you prefer the VSL pedal-down sound for your renders, VSL's own player is the right tool for that.


pc-king

OlivierW In the last video, I also used only PTL - no "pedal down" samples. I don’t understand why a note sounds significantly louder and lasts longer when I shorten its duration. In the audio and video examples above, I never compared PTL with VSL; it was always just PTL. I’m well aware that the way VSL handles the sustain pedal is rubbish compared to PTL. But that doesn’t explain why a note sounds louder and lasts longer when I shorten it.
I think the two of us actually have a communication problem. ;-) I’ll go ahead and blame it on the fact that Google Translate was used twice in the process.


OlivierW

pc-king I took the time, my own personal time, to analyse all of this, including VSL's behaviour. And I'm still quite upset about the MIDI file story: a file ending with notes still held, without telling me you were rendering with the bounce.

Yes, there is a real problem with the pedal-down sample approach, and I wasn't talking about your .wav and .mid there: I used the occasion to shed some light on it.

That said, I would now prefer that you keep using VSL rather than my software for your work. I think it will be simpler for both of us.


CyberGene

OlivierW I understand your frustration, especially as someone doing this for free and in his own free time. But as a software engineer with a long experience of being frustrated with customers (after all customers are also frustrated, even when they did something wrong), I've found that the best long-term strategy is to just vent a little into something else, not directly at the customers 🙂


pipAT

@OlivierW

Sorry to bother you with so many of my dumb questions, too.

You should always feel free to do whatever you like at your free will and at your own pace.

Thank you very much!


OlivierW

What's new in 10.5.4
Fix: unorthodox MIDI file endings (BOUNCE / PLAY / REC). A file ending with notes still held now rings out to the end instead of being cut.


OlivierW

CyberGene You're right, and thank you for saying it kindly. I was a bit excessive, and I'll keep your advice in mind.

To be honest, it wasn't really about this user. What frustrates me is something else: I remember well-established companies taking five years to add something as simple as a silent key. In the age of artificial intelligence, piano developers could improve their own players much faster, in the interest of their customers, instead of putting so much into marketing.

That's what PianoToLife is about: speeding all of this up for pianists. Sometimes that impatience comes out at the wrong moment and toward the wrong person. Point taken. 🙂


pc-king

OlivierW Yes, you’re demonstrating the kind of development pace that’s possible today - and we’re all quite amazed by it. I certainly wouldn’t rule out making a voluntary financial contribution down the line. I think it’s already a win-win situation: we get to use free software, and in return, we help it evolve through our bug reports and suggestions for improvement. After all, rigorous testing by trained pianists wouldn’t come for free otherwise. And if everything falls into place, you could always pursue a partnership with a company or simply start charging for it.

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).


PASHKULI

CyberGene after all customers are also frustrated, even when they did something wrong

Customer is always right… in matter of taste. We are all customers (of something).

OlivierW I would now prefer that you keep using VSL rather than my software for your work. I think it will be simpler for both of us.

That is what I meant when I said that there is a or could be a business opportunity to make your product (service) tailored to the customer.
He wants something specific, pays for that specific thing, AI gets involved for that thing only.
For example, we all know that it would be fantastic if any software\hardware had versions (support) for Windows, Mac, Linux, BSD, Android, iOS operating systems. Some devs. charge extra for that, so you have to buy 2, 3 licences\drivers — at least one for each OS.
The guy ( @pc-king ) wants his VSL to work with PTL.

By the way, I would be happy to pay you for features I'd like to see (some mentioned) but then I have no technical means to check whether they have been executed and therefore subjected to further support. When money gets involved it gets pretty complicated with each customer (priority, communication, taxes). Regardless of how fast AI (and the dev.) can pull it off.

So, as long as its free (PTL or other app), we can praise it, criticize it, throw ideas\demands at you, get frustrated. You do what you want at the end.
Its open source, anyone can load it in AI coding agent (paid), try build it with what is on mind. Done.


PASHKULI

pc-king Unfortunately, the bug from the last video is still present.

I am not an expert in piano playing so I assume that automation from the video

shows pedal move after the note end (note off), which automation triggers some volume for the resonance or the sample (note on).
I do not know how it is with acoustic pianos, but on guitar (esp. electric) such mute automation triggers back a sound albeit in less volume and rather dull muted. It does not seem like a half pedal (but it sort of is, see ↓) and the full pedal up (go to 0 = mutes the note) shortly, then gets pressed down (graph. goes full up) very quickly. You shortened the note slightly in the video. And now it falls on about 'half pedaling' value (not 0).

But samples maybe do not work that way. If sampled with pedal down, it opens all strings for resonance.
This is because mics capture resonances too (pedal down). On top it seems resonances are generated.

My point is, you shortened the note (maybe re‑recorded it as no mouse move can be seen on the note) but did not shorten the automation (pedal).

It seems, in first recording (longer midi note) the pedal goes up (0 on the automation) at the precise time to close it. But then with the mismatch between note off and pedal automation it probably triggers 'half pedal' samples and maybe pedal down samples + PTL res.


OlivierW

PASHKULI it's fixed in last update, it was a midi bounce problem



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

« Previous Page Next Page »