When attempting to play random sounds using the 'Random' node within the audio editor, the 'Randomize Without Replacement' does not function as explained via the tooltip.
The options says that if you want to randomly choose between sounds to play, and not have any repeat their playback before the others sounds play at least once, check the 'Randomize Without Replacement'
I found that if I wanted to play three different sounds all one time, and at random, this function does not do what it says, but seems to still select any random sound that is connected to the input.
I have attached an image as an example for how to set up and test this issue. I made sure to set the weights for each sound within my 'Random' node to 1.0 so they are all evenly weighted during playback selection.
I have noticed that this issue is more noticeable with longer audio tracks like music or ambient sounds. Things like explosions and sound effects still have the issue occur, but not as frequently.
1. Create a new Blank BP Project with Starter Content
2. Create new 'Sound Cue' and add the same sounds waves as in the image provided.
3. Add a 'Random' node and be sure to have 'Randomize Without Replacement' checked.
4. Add a 'Looping' node and select the 'Loop Indefinitely' check box.
5. Press the 'Play Cue' button and observe the random selection process chooses to play sounds twice before playing others.
error message when install in U.E 5.3 - IS-IN-FCO2-82
I am not able to find world outliner how to enable it?
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
An error occurred while trying to generate project files !?
How to achieve HLSL Multiple Render Target in Material blueprints?
Delay nodes occasionally don't fire the "Completed" output in a nativized build
Head over to the existing Questions & Answers thread and let us know what's up.
0 |
Component | UE - Audio |
---|---|
Affects Versions | 4.7.4 |
Target Fix | 4.8 |
Fix Commit | 2505775 |
---|
Created | Apr 6, 2015 |
---|---|
Resolved | Apr 22, 2015 |
Updated | Apr 27, 2018 |