Contents

append(_:at:)

Adds audio to the generator.

Declaration

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

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