Topic: Pianoteq 5 high cpu usage

I'm really getting into Pianoteq 5, but I'm maxing out my computer's CPU. I have a dual core desktop with 6gb of memory.

Without Pianoteq on, I'm at under 10% CPU. With it on and not playing, I go up to 17-22%, but when I start playing chords with sustain it occasionally goes over 90% and I get occasional static. When I stop playing, it takes a few minutes, but it goes down to 17-22% again.

What can I do outside of getting a new computer. I don't think my mobo can handle a more powerful cpu.

Pianoteq 6 Std, Bluthner, Model B, Grotian, YC5, Hohner, Kremsegg #1, Electric Pianos. Roland FP-90, Windows 10 quad core, Xenyx Q802USB, Yamaha HS8 monitors, Audio Technica
ATH-M50x headphones.

Re: Pianoteq 5 high cpu usage

Just to be clear:

. . . How does your setup work with Pianoteq 4.5.4 ?

. . . What does Pianoteq show as the "Performance Index" when you play?


I started a thread on this topic.  What I did for my laptop (Intel Core i5, 2.6 GHz, 4 cores):

1.  Disabled the WiFi-card driver (just "disconnecting" the WiFi didn't do much) -- you must go into the "control panel" to do this;

2.  Used ASIO4ALL on the _built-in_ sound card -- I had poor results with a USB soundcard, even with ASIO4ALL.

3.  Set the power plan to "Maximum performance".

.              Charles

PS -- I'm still new to this game, and there may be things I should do, and haven't done.

Re: Pianoteq 5 high cpu usage

What's your max polyphony set to?

Hard work and guts!

Re: Pianoteq 5 high cpu usage

EvilDragon wrote:

What's your max polyphony set to?

256. I'll try lowering it. Thanks! Larry

Pianoteq 6 Std, Bluthner, Model B, Grotian, YC5, Hohner, Kremsegg #1, Electric Pianos. Roland FP-90, Windows 10 quad core, Xenyx Q802USB, Yamaha HS8 monitors, Audio Technica
ATH-M50x headphones.

Re: Pianoteq 5 high cpu usage

The linux version also has a somewhat high CPU usage. Pianoteq 4 shows me a "performance index" of about 70-72, but version 5 gives me between 55 and 60. I also get some stutterings ("tick" sounds) here and there when using as VST in Renoise.

Otherwise, i really love the new sound of all the piano models!!!

http://soundcloud.com/delt01
Pianoteq 5 STD+blüthner, Renoise 3 • Roland FP-4F + M-Audio Keystation 88es
Intel i5@3.4GHz, 16GB • Linux Mint xfce 64bit

Re: Pianoteq 5 high cpu usage

yes its reducing polyphony and switching off all unnecessary background applications, anti virus, windows defender etc, and the main one, wifi.

5 seems about 15 percent more cpu intensive than 4.5. i have two laptops, one with an i7, which could run the program 2 or 3 times simultaneously without issue. however i can still  run 5 on a core due 1.72 ghz, with 5.7 ms of latency, and 48 note polyphony, with no problems as long as all the unnecessary background operations are turned off. including minimizing the pianoteq interface as that requires cpu cycles.

Re: Pianoteq 5 high cpu usage

Apart from polyphony and latency, the most useful thing to do is reduce the internal sample rate to 22.05 kHz or 24 kHz depending if you are using a host with 44.1 or 48 and its multiple. Unless you have an outstanding (or still young) hearing, the reduction to 12-16 kHz of your top frequency will not be noticed very much. Less than the crackles at least.

My previous 6-7 year-old dual core under Windows XP had crackles if I used anything higher and my performance index was around 13 most of the time with v4.5. Now I own a new quad core Mac Pro and of course, v5 is a breeze. I get a performance index of 72 at 48 kHz with a 64 bit buffer (latency 1.3 ms). Still, I'm amazed at the extreme cpu efficiency of pianoteq's sound engine...

Re: Pianoteq 5 high cpu usage

Thank you so much for the help.

Let's see.

I changed power management to maximum performance.
I reduced polyphony to 128.
I reduced sample rate from 96k to 48k
I set audio buffer to 5ms (240 samples)

Now the cpu is maxing at 75% and I'm not getting crackling. If I do, I'll reduce the internal sample rate.

The K2 is a really killer piano! I'm not sure if I'm going to go back to Ivory II. Larry

Pianoteq 6 Std, Bluthner, Model B, Grotian, YC5, Hohner, Kremsegg #1, Electric Pianos. Roland FP-90, Windows 10 quad core, Xenyx Q802USB, Yamaha HS8 monitors, Audio Technica
ATH-M50x headphones.

Re: Pianoteq 5 high cpu usage

"5 seems about 15 percent more cpu intensive than 4.5"

Does anyone know how Pro vs Standard CPU usage compares?

I'm upgrading from 4.5 standard, which runs fine on a core duo laptop with polyphony=128 rate=48k and should handle another 15% load.

Is 5 Pro much more CPU intensive than 5 Standard?

Re: Pianoteq 5 high cpu usage

bgrant wrote:

Does anyone know how Pro vs Standard CPU usage compares?

All three editions run the same engine, hence they have the same CPU usage.

Hard work and guts!

Re: Pianoteq 5 high cpu usage

Thanks! I thought it might take more CPU to handle the additional options in Pro. Great programming!

Re: Pianoteq 5 high cpu usage

I never knew Cubase SX uses so much resources before I had Pianoteq. It has a lot more reserve in the standalone mode. In fact, on a Penthium IV 3.0 GHz 2GB RAM machiine, I can't use Pianoteq together with Cubase at all. Must buy new computer ...

Re: Pianoteq 5 high cpu usage

...or try Reaper first.

Hard work and guts!

Re: Pianoteq 5 high cpu usage

Since I'm the individual that started this post, I want to mention (and I stated this in another thread) that I am getting excellent performance out of Pianoteq. My initial problem was probably with an incompatible sound card, a Sound Blaster ZXR, that was acting up in my computer.

Since using a Xenyx Q502USB mixer with ASIO4ALL, I'm using less than 50% peak CPU on my 2800ghz dual core computer with 2.7ms latency (I get occasional clipping at 1.3ms), 4800 HZ external and internal sample rate, 128 polyphony, hi res MIDI.

Operation is seamless.

Pianoteq 6 Std, Bluthner, Model B, Grotian, YC5, Hohner, Kremsegg #1, Electric Pianos. Roland FP-90, Windows 10 quad core, Xenyx Q802USB, Yamaha HS8 monitors, Audio Technica
ATH-M50x headphones.

Re: Pianoteq 5 high cpu usage

...so, any news on this yet? Pianoteq 5 both VST and standalone gives me a good 7 or 8 points lower for "performance index" than Pianoteq 4, though actual CPU usage seems only slightly higher.

Just curious....

http://soundcloud.com/delt01
Pianoteq 5 STD+blüthner, Renoise 3 • Roland FP-4F + M-Audio Keystation 88es
Intel i5@3.4GHz, 16GB • Linux Mint xfce 64bit

Re: Pianoteq 5 high cpu usage

beakybird wrote:

  . . .

Since using a Xenyx Q502USB mixer with ASIO4ALL, I'm using less than 50% peak CPU on my 2800ghz dual core computer with 2.7ms latency (I get occasional clipping at 1.3ms), 4800 HZ external and internal sample rate, 128 polyphony, hi res MIDI.

Operation is seamless.

That's a neat idea!  I never thought of using the Behringer USB mixer as a soundcard.  But it's cheaper than most things sold as soundcards, and probably works fine.

One more thing on the shopping list . . . <g>

.          Charles

Re: Pianoteq 5 high cpu usage

cpcohen wrote:

That's a neat idea!  I never thought of using the Behringer USB mixer as a soundcard.  But it's cheaper than most things sold as soundcards, and probably works fine.

Well... there's nothing more expensive than buying too cheap. If the choice is between a (quite noisy) live mixer for fifty bucks or a decent USB sound device for a hundred, I know what I would choose. Devices like the Steinberg UR22 are a farcry from anything Behringer makes, and are not that expensive. I like the Behringer monitor speakers (like the 2030A and 2031A), but apart from that I cannot say many positive things about the audio quality of any Behringer equipment I tried. Of course it's your money.

Last edited by kalessin (16-06-2014 12:08)
Pianoteq 6 Standard (Steinway D&B, Grotrian, Petrof, Steingraeber, Bechstein, Blüthner, K2, YC5, U4, Kremsegg 1&2, Karsten, Electric, Hohner)

Re: Pianoteq 5 high cpu usage

kalessin wrote:

Well... there's nothing more expensive than buying too cheap. If the choice is between a (quite noisy) live mixer for fifty bucks or a decent USB sound device for a hundred, I know what I would choose. Devices like the Steinberg UR22 are a farcry from anything Behringer makes, and are not that expensive. I like the Behringer monitor speakers (like the 2030A and 2031A), but apart from that I cannot say many positive things about the audio quality of any Behringer equipment I tried. Of course it's your money.

The Steinberg looks like a good choice. The signal to noise ratio on the Steinberg is the same as the Behringer.

I must say that the Behringer is super quiet when I play the piano, and I couldn't tell the difference in sound quality between it and a fancy tube headphone amp. Albeit, I'm not an audiophile, and there might be things like listener fatigue, subconscious stuff.

If I were on a budget, but wanted to make sure I was getting the best sound within that budget, I would pick up both the Behringer and the Steinberg used, spend some time comparing, and sell whichever one loses on price or quality.

Pianoteq 6 Std, Bluthner, Model B, Grotian, YC5, Hohner, Kremsegg #1, Electric Pianos. Roland FP-90, Windows 10 quad core, Xenyx Q802USB, Yamaha HS8 monitors, Audio Technica
ATH-M50x headphones.

Re: Pianoteq 5 high cpu usage

beakybird wrote:

I must say that the Behringer is super quiet when I play the piano, and I couldn't tell the difference in sound quality between it and a fancy tube headphone amp. Albeit, I'm not an audiophile, and there might be things like listener fatigue, subconscious stuff.

The main things I have in bad memory are noisy pre-amps and distortion. In general I have had more examples of cheap sound devices not managing even the basics (i.e., noise, clipping or correct sample reconstruction according to Shannon-Nyquist) than I care to remember. I do not know if the Xenyx has a Problem with aliasing artefacts, and maybe Behringer finally got their act together in terms of the pre-amps. Then it might just work, if you don't expect super-linear behaviour.

Last edited by kalessin (16-06-2014 14:38)
Pianoteq 6 Standard (Steinway D&B, Grotrian, Petrof, Steingraeber, Bechstein, Blüthner, K2, YC5, U4, Kremsegg 1&2, Karsten, Electric, Hohner)

Re: Pianoteq 5 high cpu usage

kalessin: With something like the Steinberg, do you plug the keyboard into the midi input? I am currently using a midi to usb cable and then crappy onboard soundcard. Wondering if I upgrade to an external soundcard if I should plan on connecting the keyboard to the soundcard too instead of to a usb port on the laptop....

Rachel Jimenez
Classical pianist and teacher
http://fundamentalkeys.com

Re: Pianoteq 5 high cpu usage

rjpianist wrote:

kalessin: With something like the Steinberg, do you plug the keyboard into the midi input? I am currently using a midi to usb cable and then crappy onboard soundcard. Wondering if I upgrade to an external soundcard if I should plan on connecting the keyboard to the soundcard too instead of to a usb port on the laptop....

To my knowledge, it doesn't make much of a difference. However, you might get slightly lower latency connecting your keyboard's MIDI directly to the computer than to the MIDI input of a USB audio interface. I have read also that a long MIDI cable, 10 ft or more, can introduce latency as a sound issue.

I did notice a little bit of hum and white noise when I used my desktop's sound card which disappeared when I started using a quality PCI sound card and what I'm currently using, the Behringer Xenyx Q502USB.

Pianoteq 6 Std, Bluthner, Model B, Grotian, YC5, Hohner, Kremsegg #1, Electric Pianos. Roland FP-90, Windows 10 quad core, Xenyx Q802USB, Yamaha HS8 monitors, Audio Technica
ATH-M50x headphones.

Re: Pianoteq 5 high cpu usage

rjpianist wrote:

kalessin: With something like the Steinberg, do you plug the keyboard into the midi input? I am currently using a midi to usb cable and then crappy onboard soundcard. Wondering if I upgrade to an external soundcard if I should plan on connecting the keyboard to the soundcard too instead of to a usb port on the laptop....

That should not make much of a difference, other than wasting a USB port if you don't. Most modern keyboards have built-in USB anyway (and an increasing number even drops the old hardware MIDI ports). If you use an interface like the Steinberg UR22, if you use the built-in MIDI port or an external converter cable will make not much of a difference. The Steinberg interface might be a little bit superior in terms of latency and jitter, but to be honest you will probably not notice anything. But on the other hand, why waste that USB port when the UR22 provides a MIDI port anyway?

The question of latency and jitter when using MIDI over USB is actually a rather contentiously discussed one; in theory USB is not a real-time transport and thus actually can (and does, to a degree) introduce increased latency and jitter. In practice, most of the time you will not notice anything, especially in the case we are discussing here: a single keyboard controlling a virtual instrument. Jitter becomes important when you control many different hardware devices all at once, but as far as I know this is not really the way things are done anymore in the days of DAWs and virtual instruments.

beakybird wrote:

I have read also that a long MIDI cable, 10 ft or more, can introduce latency as a sound issue.

This is physically improbable. The MIDI signal is a serial connection of about 31250 bits/second. Since it is serial, latency between channels actually is an issue. But the electromagnetic wave in the wire travels at near-lightspeed, i.e., several hundreds of thousands of kilometers per second. In other words: if you change the voltage on one end of a cable, even if it is 10 metres (~30ft) long, the change reaches the other end in less than 50 nanoseconds.

I did notice a little bit of hum and white noise when I used my desktop's sound card which disappeared when I started using a quality PCI sound card and what I'm currently using, the Behringer Xenyx Q502USB.

Cheap sound cards can and often do suffer from several artefacts:

  • A mixture of white, pink, red noise

  • 'Humming' sounds due to bad electrical de-coupling (this is also especially true for the cheap USB stick-like devices)

  • Clipping

  • Distortion: a bad sound card can sound like listening through a cheap band pass filter

  • Aliasing: when the sampled signal is not reconstructed correctly (Nyquist-Shannon theorem), the result are artefacts in the higher frequencies. Similar effects happen when working with 96kHz audio and not properly downsampling.

  • Badly-done dithering: audible as a nasty "hissing" sound whenever certain sounds are played that are rich in high frequencies (violins, pianos, electrical guitars). Especially problematic on low volumes; this is an effect almost every single mobile device (smartphone, tablet) I know shows.

My most notorious example for these is a SoundBlaster Play! I have lying around here. That is after all a device for around 25-30 bucks. It shows audible humming on certain USB ports, especially on hubs (and Creative still advertises a SNR of 90dB!), it hisses and it produces aliasing so bad that the built-in sound of my tablet is actually better...

Last edited by kalessin (17-06-2014 10:45)
Pianoteq 6 Standard (Steinway D&B, Grotrian, Petrof, Steingraeber, Bechstein, Blüthner, K2, YC5, U4, Kremsegg 1&2, Karsten, Electric, Hohner)

Re: Pianoteq 5 high cpu usage

kalessin wrote:

This is physically improbable. The MIDI signal is a serial connection of about 31250 bits/second. Since it is serial, latency between channels actually is an issue. But the electric wave in the wire travels at near-lightspeed, i.e., several hundreds of thousands of kilometers per second. In other words: if you change the voltage on one end of a cable, even if it is 10 metres (~30ft) long, the change reaches the other end in less than 50 nanoseconds.

Thanks so much for correcting me on this one and the USB vs MIDI question. In the future, I will gladly leave these technicalities to the experts.

Last edited by beakybird (17-06-2014 10:20)
Pianoteq 6 Std, Bluthner, Model B, Grotian, YC5, Hohner, Kremsegg #1, Electric Pianos. Roland FP-90, Windows 10 quad core, Xenyx Q802USB, Yamaha HS8 monitors, Audio Technica
ATH-M50x headphones.

Re: Pianoteq 5 high cpu usage

beakybird wrote:

Thanks so much for correcting me on this one and the USB vs MIDI question. In the future, I will gladly leave these technicalities to the experts.

I wouldn't call myself an expert. I know that there are multiple timing and latency problems with MIDI, but I am not a professional music producer, so I don't know all of the specifics. Whether the hardware limitations pose a problem also largely depends on what you are trying to achieve. Cable length can definitely be an issue, but im my opinion not because of latency but rather because of signal quality: I would be at least careful (i.e., use quality cabling) with anything longer than 10 metres (30ft). I know just enough from my physicist/programmer point of view to be able to state that in 'simple' scenarios like the ones discussed here, there shouldn't be much of a practical problem.

Pianoteq 6 Standard (Steinway D&B, Grotrian, Petrof, Steingraeber, Bechstein, Blüthner, K2, YC5, U4, Kremsegg 1&2, Karsten, Electric, Hohner)

Re: Pianoteq 5 high cpu usage

Regarding Xenyx USB mixers sound quality, here's a quote from a Sound On Sound review of a larger mixer in the Xenyx line:

"The included two-channel USB audio interface was recognised immediately by my Mac system, without the need to add any driver software, and the subjective audio quality I achieved from it was surprisingly good. In all, I feel the upgrade to this already workmanlike little mixer has been highly worthwhile, and within its price range it now offers a lot of flexibility to both the home studio owner and the band looking for a small live sound mixer with integral effects."

I think the Q502USB is a pretty good option for someone who wants an inexpensive option to be able to add vocals or play Pianoteq along with an mp3 player added to the mix.

However, many on a budget will want to spend an extra $40-$50 to get a similar product that delivers 24 bit and 96,000Hz capability.

Pianoteq 6 Std, Bluthner, Model B, Grotian, YC5, Hohner, Kremsegg #1, Electric Pianos. Roland FP-90, Windows 10 quad core, Xenyx Q802USB, Yamaha HS8 monitors, Audio Technica
ATH-M50x headphones.