class Mixer

in global :: Sandbox . Audio

Takes a bunch of sound, changes its volumes, mixes it together, outputs it


public AudioMeter Meter { get; }

Allows monitoring of the output of the mixer

public Guid Id { get; }

Unique identifier for this object, for lookup, deserialization etc

public string Name { get; set; }

The display name for this mixer

public float Volume { get; set; }

Scale the volume of our output by this amount

public int MaxVoices { get; set; }

The maximum amount of voices to play at one time on this mixer

public bool OverrideOcclusion { get; set; }

If true then this mixer will use custom occlusion tags. If false we'll use what our parent uses.

public TagSet OcclusionTags { get; }

The tags which occlude our physics

public float Spacializing { get; set; }

When 0 the sound will come out of all speakers, when 1 it will be fully spacialized

public float DistanceAttenuation { get; set; }

Sounds get quieter as they go further away

public float Occlusion { get; set; }

How much these sounds can get occluded

public float AirAbsorption { get; set; }

How much the air absorbs energy from the sound

public bool Solo { get; set; }

Should this be the only mixer that is heard?

public bool Mute { get; set; }

Is this mixer muted?

public bool IsMaster { get; }

The default mixer gets all sounds that don't have a mixer specifically assigned

public void StopAll( float fade )

Stop all sound handles using this mixer

public void AddProcessor( AudioProcessor ap )

Add a processor to the list

public void RemoveProcessor( AudioProcessor ap )

Add a processor to the list

public int ProcessorCount { get; }

The amount of processors

public void Deserialize( JsonObject js, TypeLibrary typeLibrary )

😔 No documentation found.

public AudioProcessor[] GetProcessors( )

😔 No documentation found.

public Type GetType( )

😔 No documentation found.

public string ToString( )

😔 No documentation found.

public void ClearProcessors( )

😔 No documentation found.

public JsonObject Serialize( )

😔 No documentation found.

public int GetHashCode( )

😔 No documentation found.

public static Mixer FindMixerByName( string name )

😔 No documentation found.

public static void ResetToDefault( )

😔 No documentation found.

public static Mixer Default { get; set; }

😔 No documentation found.

public static Mixer Master { get; }

😔 No documentation found.

public bool Equals( object obj )

😔 No documentation found.

public IReadOnlySet<uint> GetOcclusionTags( )

😔 No documentation found.

public int ChildCount { get; }

😔 No documentation found.

public Mixer[] GetChildren( )

😔 No documentation found.

public void Destroy( )

😔 No documentation found.

public static Mixer FindMixerByGuid( Guid guid )

😔 No documentation found.

public Mixer AddChild( )

😔 No documentation found.