Search Feedback

100
votes

Expose API for AudioMixerGroup and AudioEffects, AudioMixer parameters

Audio

-

-

1. Solo, Mute, Bypass - public variables or methods to set them.

2. Ability to access Effects like Attenuation. Remove exposed parameters - why even need them.
Setting by string when you can cache the effect in variable and access it's values directly? Why not?

3. Ability to add those Effects through code.

4. Ability to add groups through code.

5. Ability to add snapshots through code.

1,2,3 are priority. They are essential for creating good audio system.
Right now the way to mute, or play solo is to disable all of the audiosources and add them in code in the beginning to access them later, or have a value that multiplies the volume by some scale. But I guess you have this multiplication value internally if it's possible to mute like that in editor, or change volume in Attenuation.

Comments (5)

  1. 775394eb8296155a08a1d4f2c0c0d4c4?d=mm

    MakabreGaming

    Dec 04, 2018 07:18

    Hello, everyone who wants to vote or has already voted on this idea. I have opened a new thread that targets a much broader issues than here, that would intentionally fix these issues along with it.

    https://feedback.unity3d.com/suggestions/dedicated-audio-system-with-features-that-are-greatly-represented-in-middleware-like-wwise-or-fmod

    By inspecting the current state of Audio in Unity I have concluded that expanding a system that doesn't fully meet requirements isn't the best choice. It needs to be either refactored or designed from ground up. All of this is only my point of view, but hopefully you will consider supporting it. Thank you.

  2. 5968bac15012f357072a6136d13de4fe?d=mm

    Dunskat

    Aug 10, 2018 22:55

    I must add that for building for different platforms, exposing removal and adding of effects is essential, because some effects are not supported by some platforms (in VR, any spatializer that uses the mixer is not supported in PSVR).

  3. 8d93853cc1a5b2f4ba5710a6cffd7250?d=mm

    cyberluke

    Aug 05, 2018 10:00

    Agree, did you guys found any workaround? With Unity, I start coding C++ more, lollll.....maybe time to switch to Unreal after 4 years.

  4. 50e2d5a26fad8cc6ce0c9419db4f996d?d=mm

    AcidArrow

    Jun 11, 2018 11:15

    Voted for it too, but I don't see it happening. As it is, the AudioMixer is another half-baked and abandoned feature, that takes way too much CPU, as is the norm with Unity these days.

  5. E013ce4085a8d6e3850a271afeb460ec?d=mm

    Sp3ci

    Mar 19, 2018 12:05

    Yeah the same things have been in my mind during a creative music game project that we're working on right now

Your opinion counts

Help us make things better. Share your great idea for improving Unity or vote for other people’s.

Log in to post a new idea

Categories

All

(10797)

2D

(282)

Ads

(56)

AI & Navigation

(84)

Analytics

(133)

Animation

(396)

Asset Store

(356)

Asset Store Publisher

(17)

Assets

(544)

Audio

(185)

Cloud Build

(145)

Collaborate

(65)

Docs & Tutorials

(240)

Editor

(2513)

Everyplay

(19)

Game Performance Reporting

(22)

General

(981)

Graphics

(870)

GUI

(432)

Input

(173)

Licensing

(92)

Networking

(189)

Physics

(384)

Platforms

(442)

Profiling & Optimization

(85)

Runtime

(182)

Scripting

(1169)

Terrain

(172)

WebGL

(143)