---
title: duration
framework: shazamkit
role: symbol
role_heading: Instance Property
path: shazamkit/shsignature/duration
---

# duration

The duration of the audio you use to generate the signature.

## Declaration

```swift
var duration: TimeInterval { get }
```

## Discussion

Discussion Audio that contains periods of silence may result in a duration value that’s shorter than the full duration of the original audio track.

## See Also

### Reading signature information

- [dataRepresentation](shazamkit/shsignature/datarepresentation.md)
