audacity
audacity copied to clipboard
Playback can freeze with high latency plugins
Bug description
With some high latency plugins, playback will freeze and become inoperable after performing the latency testing steps.
So far this has been confirmed with Z-Noise from Waves
https://user-images.githubusercontent.com/88568755/191254992-652cc11d-d9ae-439c-ba88-a2477acfb0ba.mp4
Waves lists their latency values for their plugins here: https://www.waves.com/support/tech-specs/plugin-latency
Steps to reproduce
- Go to www.waves.com and register an account and get a demo license of the "Z-Noise" plugin via get demo button on that plugin's webpage: https://www.waves.com/plugins/z-noise
- Download Waves plugin manager
- Use Waves plugin manager to install/activate your demo license for Z-Noise
- Open Audacity
- Generate a rhythm track
- Add the Z noise plugin to that track's realtime effect stack
- Go to Tracks -> Mix -> Mix and Render to a new track
- On the new track apply the "Invert" effect via the destructive effect dropdown
- Click play
- Note that playback is frozen (the play marker doesn't move) the only indicator that playback is active is the depressed play button.
Expected behavior
Playback should not freeze and function appropriately.
Actual behavior
Playback freezes.
Audacity Version
latest beta
Operating system
Windows, macOS, Linux
Additional context
No response
I can reproduce the problem using the free voxengo latency delay plugin, using default settings: https://www.voxengo.com/product/latencydelay/
@dozzzzer I think this is fixed now, since @vsverchinsky implemented the master channel. Could you please verify ? Note that high-latency is still isn't properly handled, and there is another issue for that: #6519
@dozzzzer I think this is fixed now, since @vsverchinsky implemented the master channel. Could you please verify ? Note that high-latency is still isn't properly handled, and there is another issue for that: #6519
#6442 if completed, reviewed, and merged will completely rewrite the handling of latency and justify re-testing.
The original issue cannot be reproduced anymore: I experience no playhead stuttering or playback freeze with the Invert applied to the second track. However, playhead still stutters when a plugin with latency (e.g. Voxengo Latency Delay) is added to the Master channel too, and even when it's disabled, stuttering persists.
https://github.com/audacity/audacity/assets/70063970/5e3aee72-0bfe-40bc-bbde-553270679a0f
I may request a re-test of this on another branch.
Watch #3651