Energy

object Energy : TuneableTrackAttribute<Float>

Energy is a measure from 0.0 to 1.0 and represents a perceptual measure of intensity and activity. Typically, energetic tracks feel fast, loud, and noisy. For example, death metal has high energy, while a Bach prelude scores low on the scale. Perceptual features contributing to this attribute include dynamic range, perceived loudness, timbre, onset rate, and general entropy.

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