Hi everyone,
I’m converting text to speech and trying to figure out how I should stream audio chunks (sentences of a longer text) without them overlapping in my scene. Right now the conversion happens faster than the playback of longer audio chunk finishing playback, so new chunks added automatically are overlapping with the currently playing audio.
The image shows how it is set up, but this does not take into consideration if the previous chunk is still playing or not.
The RAW Data byte array contains the audio parts, and I’m not really sure how to delay the playback of the upcoming audio chunk by the time difference of the currently playing part’s progress till it finishes playback.
Can someone please help me out with a solution? I’m not super deep into blueprints and this made me scratch my head for days.