Skip to content

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

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.


PASHKULI

dikrek

M5 Max is 9x.

M5 Ultra is 17.6x.

those are roughly 10 to 12 times more expensive than my 12 years old PC.
I have upgraded mine to 64bit ram over the years and now all my PCI slots are occupied with nvme drives (4) and all my SATA slots have SSD drives (5).
I've been thinking of upgrading it to Xeon E5-2699 v4 (22 cores, 44 threads) but only find such CPU from China to get ordered\delivered. So, 10 years old but those are the max. supported by that Dell tower's CPU socket.
Still got an HP laptop 6gb from same time (2014) which works like a charm, the one with the removable battery (yes, it dries up quickly and the CPU is not that powerful) but it works like a charm on the modified (lightweight Windows 10 Pro). Struggles a lot with 2K video though so only FHD (1080) and SD (720). Bought it around Christmas 2014 from a hungarian who was leaving UK in early 2015, second hand but never had any issues with it.


dikrek

PASHKULI current Xeon has 6x the memory bandwidth of your system. FYI. AMD EPYC - insane. they can hit almost 1TB/s memory throughput.

So it all depends on what you need to do. Clearly yours is already too slow for some things as you've noticed. If you want to run more modern software you need to get to about 2x the Geekbench score for single core speed.

A current Ryzen/Threadripper or Intel 270K Plus are 3x the Geekbench speed of your CPU. But they're nowhere near the Apple memory throughput speeds. Apple did incredibly well with their CPUs.

It is what it is, there's only so far you can take these old systems.


PASHKULI

dikrek

I am just a hobbyist. I do music and music related things for fun and personal satisfaction.
Yes, I'd love to be able to design a proper digital kayboard, klavier, klaviped instrument in the likes of Roland, Nord, Yamaha but that is just a dream (or delusion many would say).
I'd love the latest Dell or HP tower model with all bells and whistles but that might happen if I am running a business of such intention as making digital or electroacoustic keyboard instruments. I wish.



OlivierW

Hi everyone,

A preview of the next version, PianoToLife 11.4.0, coming soon.

I resampled the Bechstein Digital Grand (Kontakt) into the PianoToLife SAMPLER, then let the automatic tools do the rest: AUTO DYN, AUTO EQ and the new AUTO COLOR. I did not touch a single slider by hand. The result is very even from pianissimo to fortissimo, and it sounds formidable.

What is new in AUTO COLOR

AUTO COLOR sets the colour of each velocity layer (SOFT / MEDIUM / HARD COLOR) so that the piano brightens from soft to loud like the reference grand. Until now, it only looked at the shape of that curve. On a piano that is already bright, it could add even more brightness to the forte, and the sound got metallic.

In 11.4.0, AUTO COLOR asks two more questions:

  • Never brighter than the reference (on by default, for pianos that are already bright): it can brighten a layer up to the reference, never beyond.
  • Never darker than the piano is (for pianos that are already dull): it never takes brightness away from the original samples.

Tick one, both or none, and AUTO COLOR finds the best colour within those limits. Your choice is remembered.

The screenshot below shows the AUTO COLOR window with the new options.

More soon with the release.

Olivier


skyman

Intrigued by Autocolor. Looking forward to trying out 11.4 upon release 🙂



doctae

Olivier, could you describe how you captured and imported Bechstein DG before running the automatic tools?

Did you render MIDI notes through Kontakt, or export the underlying samples? Which mic mix, velocity settings, layers and note lengths did you use? And during PTL import, were AUTO KEY, AUTO LAYERS, normalization, FADE IN and the timbre switches enabled?

We’ve (me an my AI agents in Claude and ChatGPT) found that the starting import settings can substantially affect the result, so a reproducible example would be very helpful.


OlivierW

doctae e’ve (me an my AI agents in Claude and ChatGPT) found that the starting import settings can substantially affect the result, so a reproducible example would be very helpful.
??


OlivierW

After importing the Bechstein Digital sample by samples in PTL, and following everything explained in the PTL manual, it sounds better than in Kontakt. But this piano really isn't the best. I much prefer the VSL D-274, the Modern D and the EW Gigasampler Steinway B. It's not a piano I'm going to play or keep. It was only useful to help me optimize the Auto Color function, because the regulation from one key to the next is really uneven on this piano. And some of the mic recordings are out of phase, which I don't understand.


aoganesi

@OlivierW

Wow! I come back to an entirely new level of software from you. Super impressive, sir!

I have long given up on being able to play Modern D or VSL on my N1X, even with your wonderful presets that you so generously shared previously. I would very much like to try this again with your new software, but reading through the manual I have to admit that I am overwhelmed. Is there a simple recipe for dummies like me on how to get "N1X + Modern D + PianoToLife" work out of the box. Are there "Olivier approved" velocity curves?

Apologies if this was asked previously and thank you so much for sharing this with everyone!


OlivierW

aoganesi Thanks, glad you're coming back to it!

You're right, the manual covers a lot. You don't need most of it to start. Here's the short version for N1X + Modern D:

  1. Audio: open PianoToLife standalone, pick your audio interface, buffer 256 (or 512 if you hear clicks).
  2. MIDI: select the N1X as MIDI input.
  3. HOST mode: load Modern D as you do today. In the piano's own settings, switch off its sympathetic / pedal resonance and its release noises: PianoToLife models those.
  4. Capture: click Capture once (Piano Model). PianoToLife plays the piano by itself for a few minutes to learn it. Don't play meanwhile.
  5. Velocity, calibrated for you: no need to draw a curve. The capture measures how loud your piano is at every velocity. In the VELOCITY section, choose the CAL curve: Grand D (Modern D is a concert grand): PianoToLife builds the curve from your piano's own levels, so pp to ff follow a real concert grand. Then, in the large curve window, KEYBOARD > LEARN: play your softest and your loudest notes on the N1X, click again. Its real range is stretched onto the whole curve. If it still feels too hard or too soft, turn the CURVE knob a little.
  6. AUTO CAL: run AUTO CAL for the resonance, then for Recorded Room. A few seconds each.
  7. Play, then save a preset.

If you feel brave later: you can also resample the whole piano into SAMPLER mode. PianoToLife records it note by note, and then plays it with its own engine: less CPU than hosting, and all the SAMPLER tools (AUTO DYN, AUTO COLOR, BALANCE...) to even it out.

And there's more than the piano now: a real media player to play along with your music. It can take the piano out of a recording (or the voice, karaoke style), find the lyrics, and plays the song tuned to your piano's A4 automatically, with TRANSP. to change the key. Great for piano bar, or to accompany singers and other musicians live. (The media player is an option, unlocked after a donation.)

Everything else can come later. If something doesn't work along the way, post a screenshot and I'll have a look.

Keep release on Modern D
https://github.com/owfrappier/PianoToLife/releases/tag/v11.4.2-PianoToLife

Olivier


skyman

OlivierW Thank you!

I've tried for some hours now to get my autosampled (through Logic Pro) piano to be (re)edited, but it keeps mapping some AIF samples to the wrong key. So some keys - just an example like C4 had also C2 samples when I played it softly - get mixed up.

I haven't found a workaround no matter if I have selected or not selected Auto Key, Auto layers, Auto name. I tried all combinations of those. Should I have samples set to normalised instead of Auto?

I did try renaming all my AIF files, latest version was "Grand_F#6_v103_X2NB.aif" to try to follow the format I see in tool tip for autoname, but didn't succeed in getting them mapped correctly.

Any advice?

And very cool project you're doing here, even if I didn't manage to map the key samples correctly, the Fix Steps really helped smoothen the previously jarring jumps in velocity I could get on some notes 🙂

(one note always go extra crazy, here it is B2, but I don't find a pattern for which one, but random wrong samples get assigned wrong on other notes too)


OlivierW

skyman

On your screenshot I see AUTO LAYERS is checked. Before anything else, always try with AUTO NAME only:

  1. CLEAR ALL (so nothing from the previous imports stays on the keys).
  2. Uncheck AUTO KEY and AUTO LAYERS, keep only AUTO NAME checked. Leave Samples on Auto.
  3. Import your AIF files again.

With AUTO NAME alone, each sample goes to the key and velocity written in its name, nothing is guessed. On your B2 you can see samples named C6, C#5 and A#3 placed there: that's the automatic placement at work, not the names.

If some samples still land on the wrong key after that, tell me two or three of their exact file names and the key they end up on, and I'll check how PianoToLife reads them.

Olivier


doctae

OlivierW

That was a joke - the "we" because I direct AI to generate the samples and I use different AI's to double check the work and slowly understand the process as it gets so technical and tedious. I'm probably making it harder than it needs to be?


skyman

OlivierW Thx, and yep tried all combos of those headers. Here is most recent effort with only AUTO NAME:

On the right hand side it looks as if for C#3 it picks other key samples to fill out the velocity layers from my 16 provided up to 54? Not sure I'm understanding it correctly, but in there you can see which AIF file it has used to fill in which velocity for C#3 and the exact file names, e.g. Grand_C6_v127_B8OP.aif, Grand_C#5_v119_NJC9.aif, Grand_A#3_v119_NE8I.aif along with a bunch of the actual Grand_C#3s.

(While C#3 is worse in this case - there is often one "worse" like that - also others are mixed, like on C4 there are samples also from E4 and G#2)

Edit: I note that the key being "worse" is the key being highlighted when I drag and drop all the files (I'm on Mac). Not sure why the others get some random aif attached to them though. Same behaviour after updating to 11.4.2.


OlivierW

skyman Thanks skyman, your screenshot shows exactly what happens, and it's the file names.

With AUTO KEY off, PianoToLife reads the key from the file name. It looks for a note name: a letter A–G, an optional #, then one digit. When there are several in a name, the last one wins. Your files end with a random 4-character code, and that code often contains something that looks like a note:

  • Grand_C6_v127_B8OP.aif → read as B8
  • Grand_C#5_v119_NJC9.aif → read as C9
  • Grand_A#3_v119_NE8I.aif → read as E8

B8, C9 and E8 are above the keyboard, so those samples are placed where you dropped them. That's why the "worst" key is always the one highlighted when you drop. And when the code looks like a real key (say "…_xC4x" in an E4 file), the sample lands on that key: that's your C4 getting E4 and G#2 samples.

The fix is to keep only the key and the velocity in the names, as recommended in the Sampler manual ("Naming your files"):

Grand_C#3_v127.aif, Grand_C#3_v119.aif, Grand_C6_v127.aif…

To strip the code in one go on a Mac, work on a copy of the folder. In Terminal (put your folder's path):

cd "/path/to/your/samples" && for f in Grand_*_v*_*.aif; do n="${f%_*}.aif"; if [ -e "$n" ]; then echo "SKIP $f"; else mv -n "$f" "$n"; fi; done

It turns Grand_C#3_v127_IIBE.aif into Grand_C#3_v127.aif. If two files would end up with the same name, it skips them and lists them.

Then CLEAR ALL, import again with AUTO NAME only, and every key should get only its own samples, in the order of their velocities.

Olivier


OlivierW

skyman One more thing, skyman. I've added your case to 11.4.3, coming soon. PianoToLife now looks over the whole drop for the part of the names that is the key (C#3, C6…) and reads that one, so a code after it like _B8OP or _NJC9 no longer moves a sample. I checked it on 11,000+ samples from 7 libraries without changing a single key, and all your file names now land on their own key.

So you can wait for 11.4.3 if you prefer not to rename.

But to be clear, this wasn't a bug. A name like Grand_C6_v127_B8OP really contains two things that look like keys, and no program can guess which one is right. The clean way is still to name samples with only the key and the layer, as the Sampler manual recommends: Grand_C6_v127.aif. Clean names will always work, in PianoToLife and anywhere else.

Olivier


« Previous Page Next Page »