<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 8.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ShazamKit",
  "identifier" : "/documentation/ShazamKit/SHSignatureGenerator/append(_:at:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "ShazamKit"
    ],
    "preciseIdentifier" : "c:objc(cs)SHSignatureGenerator(im)appendBuffer:atTime:error:"
  },
  "title" : "append(_:at:)"
}
-->

# append(_:at:)

Adds audio to the generator.

```
func append(_ buffer: AVAudioPCMBuffer, at time: AVAudioTime?) throws
```

## Parameters

`buffer`

The audio data to append to the signature generator.

`time`

The time position of the start of the audio buffer in the full audio you use to generate the signature.

## Discussion

Using noncontiguous audio may result in a lower-quality signature.

The audio must be PCM at one of these rates:

- `48000` hertz
- `44100` hertz
- `32000` hertz
- `16000` hertz

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)