SKTrackAttribute
public enum SKTrackAttribute
An enumeration representing the audio attributes available in audio features.
Each attribute accepts a minimum, maximum, and target value of the appropriate type.
-
Undocumented
Declaration
Swift
case accousticness(min: Float?, max: Float?, target: Float?)
-
Undocumented
Declaration
Swift
case danceability(min: Float?, max: Float?, target: Float?)
-
Undocumented
Declaration
Swift
case duration(min: TimeInterval?, max: TimeInterval?, target: TimeInterval?)
-
Undocumented
Declaration
Swift
case energy(min: Float?, max: Float?, target: Float?)
-
Undocumented
Declaration
Swift
case instrumentalness(min: Float?, max: Float?, target: Float?)
-
Undocumented
Declaration
Swift
case key(min: SKAudioFeatures.Pitch?, max: SKAudioFeatures.Pitch?, target: SKAudioFeatures.Pitch?)
-
Undocumented
Declaration
Swift
case liveness(min: Float?, max: Float?, target: Float?)
-
Undocumented
Declaration
Swift
case loudness(min: Float?, max: Float?, target: Float?)
-
Undocumented
Declaration
Swift
case mode(min: SKAudioFeatures.Mode?, max: SKAudioFeatures.Mode?, target: SKAudioFeatures.Mode?)
-
Undocumented
Declaration
Swift
case popularity(min: Int?, max: Int?, target: Int?)
-
Undocumented
Declaration
Swift
case speechiness(min: Float?, max: Float?, target: Float?)
-
Undocumented
Declaration
Swift
case tempo(min: Float?, max: Float?, target: Float?)
-
Undocumented
Declaration
Swift
case timeSignature(min: Int?, max: Int?, target: Int?)
-
Undocumented
Declaration
Swift
case valence(min: Float?, max: Float?, target: Float?)
-
Declaration
Swift
public var hashValue: Int { get }
-
Note
Attributes of the same type will be considered equal even if they contain different associated values.Declaration
Swift
public static func == (lhs: SKTrackAttribute, rhs: SKTrackAttribute) -> Bool