Hi, here’s a simple setup that’s based on what you already have, and will do the job:
In your receiver’s Blueprint add an Audio Component (“Music” in my screenshot)
Set its Sound to be your Sound Cue
To toggle Play / Stop -
On the UI event (I used Space Bar) you’d want to call Fade In / Fade out on that Audio Component
To switch to the Next / Previous track -
Add an Integer variable and name it the same as the parameter in your Switch node (“Track” in screenshot)
On the UI event (I used Right / Left arrows), if track number is within range,
Increment / Decrement that Integer and Set Parameter on our Audio Component
Then Fade it in with the new track.
Some notes on this setup:
- Switching tracks also plays them right away
- Tracks always start over from the begining when selected
- If you want the sound to appear to come from the speakers, try setting the Attenuation Distance Inner Radius
to at least their distance from the receiver, and set Spatialization 3D Stereo Spread to that distance as well.
Good Luck !