r/DigitalPiano • u/Mawl_eye • 1h ago
Latency Measured (Pianoteq)
I measured latency with different settings. Might be interesting, and am wondering what you are getting with different setups (Sample libraries, dedicated USB audio interface etc.).
| Latency vs Built-in (ms) | |
|---|---|
| ASIO4ALL (buffer 1.3ms) | 78 +-10 |
| WASAPI Exclusive Mode (buffer 10.2ms) | 82 +- 10 |
| WASAPI Low Latency mode (buffer 10.0ms) | 100 +- 10 |
| DirectSound (buffer 4.4ms) | 975 +- 5 (!!!) |
Setup: Roland FP-10 Keyboard + Pianoteq 9 VST. Measured delay versus built-in audio of the FP-10 over 3 key presses. Audio buffer as low as I could get without artefacts for each. On Lenovo LOQ gaming laptop.
Other measurements for reference
| Timescale | |
|---|---|
| Touching top of key -> Bottoming out | 20ms |
| Bottoming out -> Built-in audio starts | -10ms (yes, its negative, between -5 and -15) |
| Fastest trill or scale in classical piece | 90ms between notes |
| Moderately fast melody | 300ms between notes |
| Slow dramatic rythm | 700ms between notes |
Findings
- The built-in sound feels very responsive because the sound start playing already even before the note bottoms out.
- ASIO4ALL isn't significantly faster than WASAPI Exclusive mode on my device when both set to their lowest feasible buffer sizes. (and exclusive mode is lower latency than "low latency mode")
- The delay of this setup, where I don't use a special USB audio interface/sound card, is not just subjectively sluggish, but equals the interval between notes in fast pieces. That would mean you hear the low note of a trill while pressing the high note and vice-versa. I accepted the delay at first given the much better sound quality and it is fine for relaxing pieces, but messes with my brain way too much and prohibits playing fast technical pieces.
- Steps in buffer sizes of going from something like 4ms to 1ms have been described by other redditors as noticeable improvements. That might be true, but in setups like this the buffer size is only a small fraction of the latency.
- Don't ever use DirectSound.
Now I wonder: What are you all getting with different VSTs/Audio Interfaces/Devices? And is it possible to get usable latencies without buying a ~$100 USB audio interface (that's almost a third of the price of the piano itself for me).
Additional details (in case you want to measure your setup):
Recorded audio with my phone of keyboard sound and pianoteq sound through laptop speakers, both audible at the same time overlapping for each note pressed. Opened recording in audacity and zoomed in in spectrogram view to see what either looks like and measure the duration of the delay where one starts. It helped to: 1. Use different presets (e.g. one grand piano and other harpsicord) sounds for clearer differences. 2 Include a clean sound with only the laptop or piano audible for reference of what each one individually looks like in the spectrogram