Topic: Pianoteq on iPad Help

I am evaluating Pianoteq on my iPad and I find the latency too high at 1024 samples (21.3 ms), which is the default. I can change the latency to 256 Samples (5.3 ms) and it sounds good to me. But when I play a backing track in another app (Genius Jamtracks for example), Pianoteq switches back to 1024 samples (21.3 ms). After it switches back to the higher latency, I can't switch to any other latency even if I stop the backing track. To change the latency I have to go to device settings and under Device select none and then go agin to Device and select iOS Audio and then I can change the latency back to something low enough.

I am using a wired connection to my keyboard (Roland FP90x) for both MIDI and audio (Pianoteq sounds are playing through the piano speakers).

Is this an IOS limitation? Or are you able to play backing tracks and Pianoteq with a low latency?

For what it's worth, I don't get this behavior with the demo of Pianoteq on my MacBook even using the same app for background practice track playback. But I much prefer to use my iPad when at my digital piano, so I would appreciate any help you can offer.

Thanks in advance for any help you can offer.

Re: Pianoteq on iPad Help

I had exactly the same problem: iPad M1 Pro with focusrite 2i2 interface. Same behavior.

My solution:

I load pianoteq as an instrument in AUM, and then the backing track with the audio file player on another track/bus. Problem solved. If your app is compatible you can also load it up in place of the audio file player

Last edited by Irmin (04-08-2024 14:36)

Re: Pianoteq on iPad Help

That doesn't sound like intentional behavior to me. However, the forum is not the right place for bug reports.
I would therefore recommend that you submit a support request using the form.

Re: Pianoteq on iPad Help

I am able to replicate the issue (at least the first part). When I play my arturia keylab keyboard through a scarlett focusrite interface, I normally set buffer size (which determines latency) to 128. When I start a music app playing through the same output (focusrite), it automatically changes the buffer size to another size, usually 1024 (as you saw). In one case (qobuz app) it changed it to 4096! In those cases, I couldn't set the buffer size back to 128 while the music was playing. When the music stopped, it remained at 1024 (or whatever large value) and did not automatically reset to 128. However, in every case, I was able to manually set it back to 128 without a problem (I didn't have the issue that dcbrow had where it couldn't easily be set back after the music stopped). This is running pianoteq 8.3.1.

I am pretty sure the problem is that to mix the two audio outputs (from pianoteq and the streaming app) it chooses the buffer size that can accommodate both apps. Pianoteq, being a professional app for musicians, is optimized to support very low latency and small buffer sizes. I imagine most music playing apps are not optimized this way, and may default to requiring a 1024 sample buffer size or more. For most purposes this is no problem.

I am not sure Modartt would call this a bug. You might argue that it should switch back to the original buffer size once the music stops, but it probably isn't always obvious that the stream has stopped--it may continue to send a silent signal or something? In any case it wouldn't solve your problem, which is to play both at once with low latency. The solution is to mix the signals together with an app that will let you control buffer size and output that, which is what Irmin suggested with AUM. That's a good solution--I have Logic Pro and that works as well. In fact I had never bumped into this issue because I would normally run pianoteq in Logic Pro if I wanted to mix in another sound source, to be able to control levels between them, and other effects. However this isn't a solution for streaming a backing track that you don't have a local file for. I imagine all the streaming services need the larger buffer sizes to ensure smooth streaming over wi-fi.

If someone knows a music app that can be set to output (or even stream) music with a buffer size of 128 or 256, it would be nice to know about it.

Last edited by sharpnine (05-08-2024 20:00)

Re: Pianoteq on iPad Help

See if your Scarlett interface supports loopback.
https://support.focusrite.com/hc/en-gb/...e-loopback

From "Best audio interface for loopback" thread:
internal "Loopback" inputs that can be utilized for any audio source, for example a YouTube backing track, Podcasts, Internet radio streams, anything!

Re: Pianoteq on iPad Help

Thanks, everyone, for confirming you see similar issues on an iPad. I don't think the mixer app suggestion will work for me (though it is a good suggestion) as the backing track app is playing in real time, so it's not a recorded track. It uses (supposedly) some AI algorithm to sound more human, so it's different with each repeat. I will continue to think about it. It just makes it so much more complicated to use a laptop for this, but I might have to if I decide to buy Pianoteq.

Re: Pianoteq on iPad Help

dcbrow wrote:

It uses (supposedly) some AI algorithm to sound more human, so it's different with each repeat. I will continue to think about it.

If that is the case, then the problem is this other app. Probably, for the AI to make these decisions it needs a bit more buffer/latency or it would not be able to always keep time correctly. And Pianoteq is forced to adjust its own buffer/latency to accommodate the needs of the sound card.

dcbrow wrote:

It just makes it so much more complicated to use a laptop for this, but I might have to if I decide to buy Pianoteq.

I speculate that the laptop having more computing power allows you to use a smaller buffer/latency making the problem less evident.

A possible workaround would be to record the AI playing into a wav, ogg or mp3 file (or maybe multiple of them to keep that take-to-take variability) and simple playing them back as suggested by others.

Where do I find a list of all posts I upvoted? :(