共用方式為


EnvironmentalReverb.Density Property

Definition

Gets the density level. -or- Controls the modal density of the late reverberation decay.

public virtual short Density { [Android.Runtime.Register("getDensity", "()S", "GetGetDensityHandler")] get; [Android.Runtime.Register("setDensity", "(S)V", "GetSetDensity_SHandler")] set; }
[<get: Android.Runtime.Register("getDensity", "()S", "GetGetDensityHandler")>]
[<set: Android.Runtime.Register("setDensity", "(S)V", "GetSetDensity_SHandler")>]
member this.Density : int16 with get, set

Property Value

the density level. See #setDiffusion(short) for units.

Attributes

Exceptions

Remarks

Property getter documentation:

Gets the density level.

Java documentation for android.media.audiofx.EnvironmentalReverb.getDensity().

Property setter documentation:

Controls the modal density of the late reverberation decay.

The scale should approximately map linearly to the perceived change in reverberation. A lower density creates a hollow sound that is useful for simulating small reverberation spaces such as bathrooms.

Java documentation for android.media.audiofx.EnvironmentalReverb.setDensity(short).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to