Playing different sections of the same sound?

I’m wondering if there is a way to play back only a selected portion of an audio file or cue through blueprints.

It is simple enough using a custom plugin but I would like to learn to do more with the engine itself.

As example, the VO lady reads “The quick brown fox jumps over the lazy dogs, Tom.” and a .wav is created.

Playing back the entire sound is simple.

Playing it back in entirety from a selected Starting point in the audio is simple.

But how do you select both a start and end time, or start and length, from within blueprints?

“brown fox”

“lazy dogs”
or any other partial audio that is not ‘all’ of the audio after an entry point.

Hi Looniper,

If you use one of the Spawn Sound nodes, it will return a reference to the playing audio component. You can use that reference to stop playback after a certain amount of time.

Cheers,

Cody

I tried that actually, and it failed completely.
But in trying it again due to the example, I have found that All audio assets fail their first use in UE4 in a session now.

So I’m left to wonder if this is an issue introduced in 4.11, or if it is something to do with my new installation.

Whatever the cause, if I play the audio assets at load with a volume of 0, they play fine from that point on.

I haven’t seen any reports in 4.11 about audio playback issues yet. How are you importing your sound clips?

In the most recent case it was one of the game templates for beginners with contents included, so it has the audio file and the cue setups.

I’m going to go through and shut everything down and restart and if it is still having the problem I’ll install on one of the test platforms.

Feel free to reach out if that doesn’t help and I’ll try to help figure out what might be going on.