[Full Release] Acoustic Simulation: Emit audio with presence!

Probably a crazy ask, but are we going to be able to visualize the general direction audio comes from and bounces in Studio? I can see (and think) a lot of sick things coming from being able to do this!

5 Likes

It’s definitely something we’ve discussed! We built internal visualization tools to debug the algorithms, and we’d like to open those up somehow, but currently they’re kinda rough (not pretty, and not super readable), so would need some work before making them public

22 Likes

Yes! It interacts with all terrain, including water - anything that has density.

12 Likes

Glad to see this team at least is making cool things that us developers can use :heart:
That’s not sarcasm btw, this is really cool, acoustic simulation is a really cool thing.

7 Likes

I’ve noticed dome trouble when client-sided movement (in this case, an elevator) is used. Because the server thinks the platform is still stationary when on the client’s side, it’s moved upward.
As a result, some sounds get muffled when they shouldn’t. Hopefully this can be fixed.

4 Likes

We’ve fixed some issues related to path updating since the Studio Beta, but if you’re recently seen issues like this, we’d love to have a Dev Forum bug, especially if you could include an example place file!

4 Likes

Short answer, it could.

We are looking into ways to ensure a more consistent UX and/or a way for developers to give signal that acoustic simulation quality is an important mechanic (something similar to Lighting.PrioritizeLightingQuality).

Still figuring this out, but feedback on this aspect is greatly appreciated.

8 Likes

In this case, it’s inside of an enclosed moving conveyance. Gonna double check to see if it’s the result of poor emitter placement though.
(Update: yeah that might be the problem.)

4 Likes

Yeah it was poor emitter placement. Moving it out fixed my problem.


For context, the selected part contains the emitter, and the metal panel enclosing it is a union.

5 Likes

Maybe developers could control this on a per-sound level? E.g. avatar sounds (footsteps, etc) would sim because they’re marked as “important”, whereas less important sounds (pipes dripping, gunshots, etc) wouldn’t sim if performance is low enough since they aren’t marked.

Basically developers can mark a given sound as being “important” or not. Seems like this would save more performance than a global “sim all sounds no matter what” option, when a developer likely only cares about certain sounds always simming on low-end devices.

12 Likes

I think this isn’t as big an issue as it sounds. On mobile many players have their devices muted, giving those that don’t an audio cue advantage. The solution to this that many tactical shooters for example employ is an audio compass in the HUD to highlight the direction that sounds are coming from. This is already a problem today, even without acoustic simulation, which is mitigated by additional game design to level the playing field.

6 Likes

@RailroadElevators thanks for following up! I’m sure this well help others & we would like to add common pitfalls to our documentation.

5 Likes

This is amazing! However question – how well does this work, if at all, with meshes that feature various complex geometry? Say something simple for example like a mesh door, or then a mesh that has varying sizes of holes cut out through it, or one mesh that’s actually a bunch of poles in lines, walls with gaps, etc..

5 Likes

Quite unrelated teams. Good updates like this are constantly rolling out one after another, not just when a horrible update shows up.

7 Likes

different teams working on different stuff, but they carefully choose and coordinate with each other when to roll out updates

4 Likes

Would also love to see a performance visualization. I hope someone will make one soon, or i’ll just make one of my own :face_with_monocle: Im a bit worried about converting most sounds in my projects to use this

5 Likes

Is there a source for this that shows the communication between the teams or something that i’m missing? I’d love to see if you have one to share :thinking:

3 Likes

In terms of performance impact, you could leverage the Creator Dashboard performance charts before/after enabling acoustic simulation to see if there’s any notable changes in memory, FPS, etc.

For more specific diagnosis, the MicroProfiler may be able to offer insights.

That said, we have done our utmost to make this rather performant - but if you encounter any issues, please let us know. Similarly if there’s specific toolings / performance insights we could add or improve.

9 Likes

Thats great, I didn’t realize the creator dashboard had that.

You guys mentioned you’re exploring additional properties to configure it better in the future. Do you think we’d see something such as minimum/maximum “rays” being used to calculate sound? That way we could reduce it maybe, at the cost of quality for performance..

edit: Also, is there any estimate on the “full release” mentioned? I’d like to use this on Sound objects.

3 Likes

The level of granularity we expose we do want to be careful with. Instead of explicit raycast or pathfinding configuration, we may offer something akin to mesh LODs (e.g. tell us if you care about quality or performance).

Nothing shareable just yet, but please stay tuned! Happy to hear this is of interest.

5 Likes