Topic: Lag using direct sound

I've upgraded to 4,5, but I've noticed that there is lag when using Direct Sound in the 'Audio device type'. This was solved though by selecting Windows Audio or ASIO. Has anyone else experienced this?
I'm using Windows 7.

Re: Lag using direct sound

This is expected, "DirectSound", and even "Windows Audio"  (also known as "Wasapi") are not suitable for realtime sound production, they impose a latency that is too high. You can use them for playing midi files, or when you need to share the soundcard with other applications, but they should not be used when playing on a midi keyboard.

Re: Lag using direct sound

Hi, I own an iMac and me too have recently upgrade to 4.5 (from 4.2.1), my version of pianoteq is stage.

I hear in this version a strange "release" sound when relasing the key, this didn't occur with the previous version, I've recorded an example (in wav exported from pianoteq), how can I upload it ?

Pianoteq Stage 5.0.1/20140527 - Pianodisc Quiettime Magic Star V. 4.0S - iMac Late 2009 - OSX Mavericks 10.9.3 - 12GB RAM - Intel Core 2 Duo 3.06 GHz - SSD OWC Mercury Extreme Pro 6G 240GB

Re: Lag using direct sound

julien wrote:

This is expected, "DirectSound", and even "Windows Audio"  (also known as "Wasapi") are not suitable for realtime sound production, they impose a latency that is too high.

Actually, Julien, with WASAPI I am getting quite low latency on both my laptop and my desktop (easily between 128-256 samples). It is very playable. It totally depends on computer configuration, it seems. However, WASAPI is definitely not the same as DirectSound - WASAPI is basically Microsoft's version of OSX CoreAudio.

Last edited by EvilDragon (21-04-2013 18:49)
Hard work and guts!

Re: Lag using direct sound

Hi, please could you hear this example ?

https://www.box.com/s/fz9lczizd07jc12xgnu0

You can notice the "final sound" at the end of the pressed keys...

This doesn't occur with previous version of Pianoteq (4.2.1), the settings are the same, I'm using 64 samples (1.5 ms) of Audio Buffer Size.

I didn't understand how to eliminate this "release sound" with this new 4.5.1 version of Pianoteq, is this a bug ?

Pianoteq Stage 5.0.1/20140527 - Pianodisc Quiettime Magic Star V. 4.0S - iMac Late 2009 - OSX Mavericks 10.9.3 - 12GB RAM - Intel Core 2 Duo 3.06 GHz - SSD OWC Mercury Extreme Pro 6G 240GB

Re: Lag using direct sound

That's key release noise. You can find it in the "Action" panel.

Hard work and guts!

Re: Lag using direct sound

You adjust the key release noise and also pedal noise too.

Just for test put the pedal noise in maximun and you will heard a interesting effect.

Re: Lag using direct sound

I've set to OFF both the "Key release noise" and "Sustain pedal noise" in the "Action" panel, @lunch I'll try it.

The strange thing is that the default configuration of "Action" panel:
http://s20.postimg.org/c8k8z5oop/Action_Panel.jpg

is the same both of 4.2.1 and 4.5.1 version of Pianoteq but only with the latest release I hear that "key release noise" sound.

Question: if the settings of the two above parameters to OFF will be the solution does exist a way to fix them to that value for every presets for every instruments ?

Pianoteq Stage 5.0.1/20140527 - Pianodisc Quiettime Magic Star V. 4.0S - iMac Late 2009 - OSX Mavericks 10.9.3 - 12GB RAM - Intel Core 2 Duo 3.06 GHz - SSD OWC Mercury Extreme Pro 6G 240GB

Re: Lag using direct sound

Excellent! That Sound was exactly as you wrote! Thanks a lot!

Pianoteq Stage 5.0.1/20140527 - Pianodisc Quiettime Magic Star V. 4.0S - iMac Late 2009 - OSX Mavericks 10.9.3 - 12GB RAM - Intel Core 2 Duo 3.06 GHz - SSD OWC Mercury Extreme Pro 6G 240GB

Re: Lag using direct sound

dalrmi wrote:

I've set to OFF both the "Key release noise" and "Sustain pedal noise" in the "Action" panel, @lunch I'll try it.

The strange thing is that the default configuration of "Action" panel:
http://s20.postimg.org/c8k8z5oop/Action_Panel.jpg

is the same both of 4.2.1 and 4.5.1 version of Pianoteq but only with the latest release I hear that "key release noise" sound.

Question: if the settings of the two above parameters to OFF will be the solution does exist a way to fix them to that value for every presets for every instruments ?

Just use the Freeze parameters dialog box to make your settings the default settings.