EqualizerValues

data class EqualizerValues(val identifier: String, val hz60: Float, val hz230: Float, val hz910: Float, val hz3600: Float, val hz14000: Float) : Iterable<Float>

A data class representing a set of equalizer values for different frequency bands.

This data class is used to define custom equalizer configurations or to represent the settings of predefined equalizer presets (see EqualizerPresets).

Constructors

Link copied to clipboard
constructor(identifier: String, hz60: Float, hz230: Float, hz910: Float, hz3600: Float, hz14000: Float)

Properties

Link copied to clipboard

The gain adjustment for the high-frequency band (around 14000 Hz). This typically affects the detail and crispness of the sound.

Link copied to clipboard

The gain adjustment for the mid-low frequency band (around 230 Hz). This can affect the body of instruments like guitars and cellos.

Link copied to clipboard

The gain adjustment for the high-mid frequency band (around 3600 Hz). This can affect the brightness and sibilance of instruments.

Link copied to clipboard
val hz60: Float

The gain adjustment for the low-frequency band (around 60 Hz). This typically affects the bass response. Positive values boost the bass, while negative values attenuate it.

Link copied to clipboard

The gain adjustment for the mid-frequency band (around 910 Hz). This can affect the clarity of vocals and lead instruments.

Link copied to clipboard

A unique identifier for this equalizer configuration. This ID might be used by the AstroPlayer to match it with media items that have a specific equalizer preset setting.

Functions

Link copied to clipboard
open operator override fun iterator(): Iterator<Float>