Instance Property

duration

The duration of the sound, in seconds.

Declaration

var duration: TimeInterval { get }

See Also

Getting Sound Information

class var soundUnfilteredTypes: [String]

Provides the file types the NSSound class understands.

init?(named: NSSound.Name)

Returns the NSSound instance associated with a given name.