The SoundWave in the Content folder of the attached Project has been exported from Nuendo @ 120BPM 4/4, with a duration of exactly 1 Bar. The BP_Audio Actor uses the TimeSynthComponent to provide sample accurate playback of the soundwave. If you click play twice in Simulate they should start at the same time @ Bar 1, therefore be aligned sample-accurately.
This is not the case with active AudioStreamCaching if the soundwave has not been played somewhere yet before. The first clip will be shifted, the following ones will be aligned. BP_Audio will remove the first Playing clip when pressing stop, to hear the effect of the following clips being aligned perfectly. Deactivating AudioStreamCaching or Inlining the SoundWave fixes this issue.
This is a regression from 4.23.1 (CL-9631420).
This was reported and tested in 4.24.3 (CL-11590370). This was reproduced in 4.25 Preview 3 (CL-12366721) 4.26 (CL-12367904)
Results: Playing a soundwave firstime using streamcache shifts the samples for some reason. Using the Prime function to Load the first Chunk of the audio before, does not change this.
Expected: Sample accurate playback, even played the first time.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-91126 in the post.
1 |
Component | UE - Audio |
---|---|
Affects Versions | 4.24.3, 4.25, 4.26 |
Target Fix | 4.26 |
Created | Mar 25, 2020 |
---|---|
Resolved | Oct 21, 2020 |
Updated | Apr 28, 2021 |