Steam Audio

Steam Audio

Hybrid V Jun 1, 2019 @ 4:39am
Plugin Not Working? [UE4 4.22]
Hey folks,

My team decided to give Steam Audio a bash and see what we can cook up with it. After setting up SA with our project, including flagging a shortcut with the -audiomixer flag, I took one of our demo levels and started adding phenon components and materials to static meshes. Afterward I placed an audio cue with a looping sound effect in the environment and added Spatialization, Occlusion and Reverb arrays to the Attenuation plugin settings to the cue.

After dialing in the settings and exporting the scene. I then play tested but noticed that the settings have no effect. No Occlusion, no Spatialization or Reverb being heard. I'm trying to run the setup in real-time before I start baking but it appears that the effects are not working at all and I am at a loss as to what the problem is. I followed the SA documentation but for some reason the effects are not being applied in real time.

If anyone has any insight on what could be causing the potential issue please let me know!
< >
Showing 1-9 of 9 comments
CKW Jul 23, 2019 @ 2:44pm 
My Steam Audio test scene still works in UE4 4.22. I set the configuration in Engine/Config/Windows/WindowsEngine.ini to default to audiomixer 2 with the line:
AudioDeviceModuleName=XAudio2
This avoids needing to set the -audiomixer flag and I've found it to be more reliable.
Hybrid V Jul 25, 2019 @ 2:35pm 
Good tip, thanks!
CKW Aug 6, 2019 @ 3:34pm 
Sorry, there was a mistake. You should have the line set like this:
AudioDeviceModuleName=AudioMixerXAudio2

And it can be set in the editor build or in the project, they should be made consistent.. The line in my first reply actually disables the new audiomixer.
Will Aug 18, 2019 @ 5:04pm 
Im running 4.22 im not able to get it running. I can manipulate the features of the plugin but it doesnt do anything. Im following a tutorial on YT by Ernests ..... Its not working. Im messing around myself its not working. So far the spatialization, occlusion, reflections are not working. Its stuck on Panning and not HRTF. I tried it with both the -audiomixer and code. If anybody knows a fix please let me know!
Last edited by Will; Aug 18, 2019 @ 9:37pm
Hybrid V Aug 18, 2019 @ 10:19pm 
Pennywise,

I would recommend if you have not already, check the project settings for your project and on the Platform section select the platform you are creating for i.e. Windows. And check that the built in audio preferences are set to Steam Audio. That coupled with the -audiomixer flag for starting the project / editor should get it up and running. That was one of the issues I was having as well.
Will Aug 19, 2019 @ 6:24am 
Plugin has the AudioDeviceModuleName=AudioMixerXAudio2
I can access the settings of SteamAudio(if i didnt had the flag I would not see the settings of steam audio)

Platform->Windows:
Spatialization set to Steam audio
Reverb set to Steam audio
Occlusion set to Steam audio

Were already set to steam audio.

I dont know what im doing wrong, occlusion is a nice example it works with the build in system but with the steam audio it doesnt. Im using phonon Occlusion Source Settings.

Thank you
Hybrid V Aug 19, 2019 @ 8:00pm 
Cool, looks like you are mostly setup.

Have you added the phenon materials to your objects in the scene and exported it?

The materials are needed for both occlusion and reverb (both real-time and baked) to work properly.

Barring that, if you still have problems getting it to work. I would start from the beginning. Turn all the SA stuff off. And revert back to built-in. Then go through the process of setup, step by step. I had to do that which helped me realize that I missed the platform section when I couldn't figure out how to get my setup to work.
freemancw Oct 23, 2019 @ 3:31pm 
Are either of you still having issues getting the plugin to work?
lakulish Oct 30, 2019 @ 3:29pm 
We have updated the Steam Audio plugin for Unreal 4.24. This updates Steam Audio to 2.0-beta.17. The pull request is at: https://github.com/EpicGames/UnrealEngine/pull/6203. Let us know if this resolves your issues.

For more information, see: https://steamcommunity.com/games/596420/announcements/detail/1589135317217982691
< >
Showing 1-9 of 9 comments
Per page: 1530 50