Skip to content

PianoToLife 11.1.0: stems.... piano.. and others

Khuja Wangtishvili

Lol waiting for PTL to be piano tuning app too 🙃
I do not tune my piano by myself, and not going to, but many people here do


_sem_

Khuja Wangtishvili Lol waiting for PTL to be piano tuning app too 🙃

Klavierpiano does that...



pipAT

Great! We‘ll have a "Carrier Strike Group"!!


OlivierW

Khuja Wangtishvili

upcoming in 11.3.0

autotune bad sampled piano: (sampler mode)

What TEMPERAMENT already does. It measures the pitch of every key on the samples and finds two things: the piano's own stretch (a smooth curve over the keyboard) and the temperament it was recorded in (the average offset of each of the 12 notes). Choosing Equal replaces that recorded temperament, and the Stretch slider keeps (100 %), removes (0 %) or widens the stretch.

What it does not correct is exactly your case: the error of each key on its own, a C4 8 cents sharp while all the other Cs are fine. Even with Equal and Stretch 0 %, those individual errors stay.

So here is what we are working on, rather than an AUTO on Tune: FIX KEYS, in the TEMPERAMENT section.

It computes, for each key, how far it is from the piano's own curve and temperament, and stores the correction apart: your Tune values are not touched.
The corrections apply with every temperament except "Original (as recorded)". One click on Original lets you hear the real piano as recorded, one click on Equal (or any other temperament) the corrected one. A direct A/B by ear.
On top of it, any temperament works cleanly: Equal + Stretch 0 % = the exact equal temperament at 440 Hz you are asking for, Equal + Stretch 100 % = a well-tuned piano with a smooth natural stretch, or a historical temperament, a Scala file or your own.
In EDIT, each key shows its correction beside its Tune (e.g. Tune 0.0 ct · fix −8.2 ct), so you see all 88 values; CLEAR FIX removes them, and everything is undoable. Tune stays for the special cases (a key you want to set by ear).
Safety: corrections are limited, a key whose pitch cannot be measured reliably (extreme bass or treble) is left alone, and a summary lists the keys corrected. You can then check them with Check by ear.
Why this rather than writing into Tune: the original stays one click away, nothing is lost, and the temperament and stretch you choose are applied on clean keys instead of on top of the recording's errors.

It is planned for the next version. Thanks again for the idea, and for explaining your workflow.


dikrek

OlivierW so you're like a superhero


OlivierW

in upcoming 11.3.0 😀

Sampler mode 😀


PASHKULI

OlivierW

so unnecessary but since it is AI gen. and free, more is more and might be a fun thing to play with parameters.


OlivierW

PASHKULI it might seem unnecessary from a single user's perspective, but this feature wasn't generated on a whim by AI—it’s a human, empathetic response to numerous direct requests from GitHub users. While it's optional for you, it's genuinely needed by others


PASHKULI

@OlivierW

Sorry, Oliver but the glitches with the PTL 11.2.6 are unbearable. Pianoteq 9 loaded. Windows 10 Pro ×64 bit.

Soundcard is at 24 bit, 48000Hz samplerate, ASIO 512 samples buffer at 1ms USB buffer.

I have loaded in many Kontakt and VSTi (in Reaper) even at more conservative ASIO setup without any dropouts and audio problems without PTL.

Here I play a midi file from @dikrek and PTL is always popping out this warning. Only PTL does this.

Sforzando, Kontakt, run it without any issues.

You have created a bloatware. Maybe time to revise it and optimize it.


dikrek

PASHKULI is that on your 12-year-old heavily modified PC?


OlivierW

PASHKULI it's a good news, use Kontakt instead PTL


OlivierW

PASHKULI Thanks for the screenshot. It explains your glitches, though not in the way you think.

What this warning really shows. PianoToLife counts the samples your sound card asks for and compares them with the clock. 40,550 Hz is not a rate any sound card runs at. It means that during those 2 seconds, your computer delivered only about 84 % of the sound: roughly one audio block in six was dropped because it could not be computed in time. These are your glitches. No other program changed your card, and I'll make the warning say so clearly in the next version ("PianoToLife cannot keep up: about 16 % of the sound lost"), instead of pointing to another program. That part is on me.

Why it happens on your machine. In PianoToLife, two engines run at the same time: the piano you host, and the sympathetic resonance engine, which follows every string of the piano in real time. That is a heavier load than running one instrument on its own, and it is the whole point of PianoToLife. On recent PCs it runs fine: I measured it this week on a Windows laptop, and I have no similar reports from other Windows users. As was pointed out in this thread, your PC is about 12 years old and modified. That is very likely the limit you are hitting.

If you want to check it:

  • Play the same MIDI file with PianoToLife's resonance switched off. If the glitches disappear, it is the load of the second engine on your CPU.
  • In the hosted piano, check its own polyphony and multi-core settings: they are often set differently when it runs inside another program.
  • Set Windows' power plan to High performance.
  • A larger ASIO buffer (1024) gives every block twice the time.

That said, nobody has to use PianoToLife. If your computer cannot run it comfortably, the instruments you mentioned work well on their own, and that is perfectly fine. PianoToLife is free and made for people who enjoy what it adds to their piano. It is not meant to replace anything that already works for you.


dikrek

OlivierW I can't even imagine using a 12 year old machine for anything intensive, I use an M4 Pro chip on my main machine and if I use even the last i9 Mac from 2019, it feels glacial in comparison, and annoying to use.

I have a 12 year old Mac - left frozen with the software that used to work well on it. I won't even bother with newer things on it.

@PASHKULI I have FX plugins where a single instance can completely overwhelm a 12-year-old core, no problem.

Code should be optimized, yes, but there's also a reason faster hardware exists, to allow more possibilities.


PASHKULI

OlivierW

Ok, I will try to give it the largest sample buffer but that is not a reason. I run a few Kontakts (drums, piano, synths, bass) + guitar amps and never had issues of such sort.
I agree that PTL is its own engine but for what it does it seems on its own it struggles.

When disabling PTL resonance feature → no problems.

Ok, it is much better with 1024 samples buffer and 2ms USB buffer (overall latency is 20ms though so hard for real time play along via MIDI input) with PTL's resonances enabled too.

@dikrek

My machine is:
Dell Precision Tower
CPU: Intel Xeon E5-2697 v3, 2.60GHz (September 8, 2014)
cores: 14 cores / 28 threads
DDR4 2400 SDRAM SK Hynix, 64GB, Quad‑channel 1200MHz
GPU: GTX 1660 Ti, 6GB GDDR6 SDRAM 192‑bit

Yes it is 12 year old by now, but everything else runs smoothly, especially CPU heavy stuff.


dikrek

PASHKULI your machine was awesome 12 years ago, but today is a bit long in the tooth (literally 4x slower per core than an M4, in Geekbench for example).

That’s what I mean. I have some plugins like Silver Bullet. If I enable all the goodness in that plugin it sounds glorious but it will annihilate a core in a CPU like yours. I tried it in a 2019 CPU and I kept having issues, let alone something from 2014

One FX plugin.

Then you want to run something else in the same core - you’ll have problems.


PASHKULI

dikrek

Ok, I agree that PTL's resonance feature is technically a synth (@OlivierW, correct me on this if not) in real time (as Pianoteq is also).
Yes, my PC is old. But fairly recent Kontakt 8 and Serum 2 synth and samplers run great together, even AI coded sims on top (guitar related).


dikrek

PASHKULI “run great” vs “modern CPUs are 4x faster per core” can both be true at the same time. Some stuff runs great sure. Your headroom is 4x less.

Some plugins aren’t (and shouldn’t be) multithreaded.

If you had a recent Yamaha MODX or Montage, they also give you a plugin version of the whole synth.

They tried to fit that all in a single core.

Let’s just say it’s challenging 🙂


PASHKULI

dikrek

Could be that indeed, I am not a programmer so I have no idea how multi‑thread works. Maybe because the built‑in chips of those Yamaha units are single core, single thread.


dikrek

PASHKULI no they’re not. They use multiple DSP engines, multiple chips. So the Yamaha synths are the ones running parallel, but to make that a plugin, they had to fit it into a single core. Some patches play. Many complex ones don’t, unless you have a very powerful system (powerful per core, not the same thing as having many cores).

Anyway - another one of those things to become familiar with in order to provide more accurate feedback.

Clock speed is only part of this equation, more important is IPC (instructions per cycle), memory throughput and more.

More food for thought:

M4 Pro is 4x the memory throughput of your CPU as well

M4 Max is 8x.

M5 Max is 9x.

M5 Ultra is 17.6x.

Those chips use unified memory for everything so they need massive throughput - and it ends up helping all kinds of apps.

I hope nobody perceives this as an intel vs apple thing, just trying to illustrate how outclassed an old CPU is for some things.

Sorry for derailing the thread @OlivierW but some clarifications seemed in order.


« Previous Page Next Page »