Hello,
I’m working on audio system that let me change background theme based on certain conditions (transitions between areas, time of day or weather changes and so on).
The general approach was that every background theme will have an unique outro sound per bar, so I can opt out of classic fade outs and have more natural outros no matter when the change in background is going to be triggered, I wanted to use Quartz for that, since I thought it allows for very accurate timing control.
So the simplified flow would be:
-Environmental change occurs
-Background audio change is detected, a right outro is picked based on the song progress and then its gonna be played from the next bar
-At the start of next bar, the current background audio is stopped and outro starts playing using “Play Quantized” call
The outcome should be that right when the previous background is stopped, the outro should start playing for more or less the seamless transition between them, and since the audio files were prepared in a way to blend together when background theme ends on particular bar and an outro related to that bar starts playing, there shouldn’t be any issue.
The issue that I have is, I can hear a noticeable pause between background audio and outro. I have managed to separate the small part of audio system for tests (basically just triggering change when bar 4 starts, so I can queue outro for bar 5), but the issue persists. Whats the most concerning is, I have implemented the exact same logic flow on UE 4.27 and the issue doesn’t occur there.
Blueprint implementation of testing environment I mentioned above.
Regarding QuartzQuantizationBoundary, the settings are:
Quantization - Bar
Multiplier - 1.0
Counting Reference Point - Current Time Relative (was trying the Bar/Transport Relative too)
Does anyone has any ideas what would be the possible solution for this?