Room and portals with FMOD?

Has anyone done something similar to Wwise’s Rooms and Portals with FMOD and Unity (or other engine)?
So basically if the listener is outside a room with an open door and sounds are playing from within the room (e.g. dialogue), I want that to play from the position of the open door(s).

I’ve seen people make some hacky solutions using the transcivers to send sounds to an empty event placed at the doors, but for a bigger project this seems really hard to maintain, so I am curious if people have come up with other solutions for this

4 Likes

Off the top of my head, I know that people have made games in which specific event emitters move to different position depending on the position of the listener. This is usually done as a way of handling environmental sounds that are supposed to come from an area rather than from one specific point (for example, to ensure that the sound of waves breaking always comes from the section of coastline that’s nearest to the player), but could be used to achieve the effect you describe, as well.

It’s not exactly the same thing, but people have also used either ray casting or FMOD’s built-in geometry-based occlusion system to detect when event emitters are occluded from the listener and muffle the corresponding event instances accordingly.

2 Likes

I would absolutely love some kind of portal system like this - I’ve currently been making my own awkward workaround, involving lots of transceivers, automating sound size, and tracking distances between points in engine, but it would be extremely difficult to scale up and is very error prone. It also seems to me to be one of the main benefits of using Wwise which is a shame, because otherwise I really enjoy using FMOD!

Essentially, what I do now is this:

  • I have one main area, with two small buildings in it
  • All ambience is played and sent via transceivers to the doorways of these buildings, and a final gain plugin at the end of the chain mutes this event (so it can only be heard via transceiver)
  • colliders are used on the buildings to tell if I am inside or outside, and to respectively update a parameter which tracks player distance from the doorway while outside or while inside.
  • Lots of automation curves change EQ and spatialiser settings to make it sound like the sound is around you while outside, but collapsed to the doorway position while inside.

It’s a bit more complicated than that and could do with refining, but the core of it is still very awkward to use. Some kind of simpler system of achieving the same effect would huge relief and time saver, and if it were easier, hopefully we could see more games be shipped with this kind of feature!

2 Likes

+1 for this. Essentially Wwise just uses its ability to spatialize buses to create the effect. Being able to set the 3D position of buses and create “instances” of these buses or something similar is super powerful!

4 Likes

I’ve added this suggestion to our feature/improvement tracker, and put you all on the list of people interested in this feature.

3 Likes

Add me to that list too :sweat_smile: This would be a much welcomed feature

1 Like

Another one for the list! jeppeFlashbulb’s suggestion would be a huge addition.

1 Like

I’d love additional functionality here.

This might already be possible, but one potential solution could be to dynamically add transciever/receiver pairings to emitters at runtime, to allow for multi-source point portaling without introducing the overhead of additional voices, and the potential phasing issues that could introduce.

This wouldn’t solve the whole rooms & portals problem, but definitely opens the door to much easier home-spun systems.

1 Like

I’ve added the three of you to the list of people interested in this feature.

You’re right that you could use transceiver effects to simulate much of the behavior of Rooms and Portals, but here are limits to this approach that prevent it from being a perfect workaround.

Add me to the list also, please! I really would like this feature!

1 Like

Same here! We’re very excited to see rooms and portals in FMOD!

1 Like

Add me to the list too! I’ve been searching for solutions for portals for the last year!

1 Like

I’ve added the three of you to the list. Thanks for the feedback!

2 Likes

+1 for me too!

I’ll mention that Oculus Spatialzer advertised that it has propagation features via mesh tagging. I’ve never used it though.

https://developer.oculus.com/documentation/unity/audio-spatializer-features/

Blockquote
The Audio Propagation feature of the Oculus Audio SDK provides real-time reverb and occlusion simulation based on game geometry. Its goal is to provide accurate audio propagation through a scene with minimal set up. You simply tag the scene meshes that you want included in the simulation and select the acoustic material for each mesh.

Yeah I was looking at the Oculus propagation thing, but it seems like it hasn’t left Beta for several years, so I didn’t want to dive into it

+1 As I propose in project we disscussed Duplicate/mirror event (in Unity)? - #5 by doudar41. It will be great to have build-in system based on mesh collisions for occulision and reflections. I’m making one, but I’m affraid that it wouldn’t be the best optimized solution and for now it looks too complecated.

I’ll add the two of you to the list. Thanks for the feedback.

2 Likes

+1 Please add me to the list too!

Noted.