Contents

read(_:configuration:)

Reads a sequence of annotated files as a lazy sequence of results each containing an audio buffers or an error.

Declaration

static func read<S, Annotation>(_ annotatedFiles: S, configuration: AudioReader.Configuration = .init()) throws -> [AnnotatedFeature<AudioReader.AsyncBuffers, Annotation>] where S : Sequence, Annotation : Equatable, Annotation : Sendable, S.Element == AnnotatedFeature<URL, Annotation>

Parameters

  • annotatedFiles:

    A sequence of annotated URLs.

  • configuration:

    The configuration for reading buffers.

Return Value

An array of annotated async sequences.

See Also

Reading audio