Afficher en anglais

Partage via


EnvironmentalReverb.Density Property

Definition

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

C#
public virtual short Density { [Android.Runtime.Register("getDensity", "()S", "GetGetDensityHandler")] get; [Android.Runtime.Register("setDensity", "(S)V", "GetSetDensity_SHandler")] 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

Produit Versions
.NET for Android .NET for Android API 34, .NET for Android API 35