---
title: "append(_:at:)"
framework: shazamkit
role: symbol
role_heading: Instance Method
path: "shazamkit/shsignaturegenerator/append(_:at:)"
---

# append(_:at:)

Adds audio to the generator.

## Declaration

```swift
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.

## Mentioned in

Generating a signature from an audio buffer

## Discussion

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

## See Also

### Generating a signature from audio

- [signature()](shazamkit/shsignaturegenerator/signature().md)
- [Generating a signature from an audio buffer](shazamkit/generating-a-signature-from-an-audio-buffer.md)
