Loudness

object Loudness : TuneableTrackAttribute<Float>

The overall loudness of a track in decibels (dB). Loudness values are averaged across the entire track and are useful for comparing relative loudness of tracks. Loudness is the quality of a sound that is the primary psychological correlate of physical strength (amplitude). Values typically range between -60 and 0 db.

Functions

asTrackAttribute
Link copied to clipboard
common
fun <V : Number> asTrackAttribute(value: V): TrackAttribute<Float>
equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
toString
Link copied to clipboard
common
open override fun toString(): String

Properties

attribute
Link copied to clipboard
common
val attribute: String
The spotify id for the track attribute.
integerOnly
Link copied to clipboard
common
val integerOnly: Boolean
Whether this attribute can only take integers.
max
Link copied to clipboard
common
val max: Float?
The maximum value allowed for this attribute.
min
Link copied to clipboard
common
val min: Float?
The minimum value allowed for this attribute.
typeClass
Link copied to clipboard
common
val typeClass: KClass<Float>
The type, a subclass of Number, one of Float or Int that corresponds to this attribute.

Sources

(source)
Link copied to clipboard