---
title: "applied(to:eventHandler:)"
framework: createmlcomponents
role: symbol
role_heading: Instance Method
path: "createmlcomponents/audiofeatureprint/applied(to:eventhandler:)"
---

# applied(to:eventHandler:)

Extracts audio features from an a sequence of audio buffers

## Declaration

```swift
func applied<S>(to input: S, eventHandler: EventHandler? = nil) throws -> AudioFeaturePrint.FeatureSequence where S : TemporalSequence, S.Feature == AVAudioPCMBuffer
```

## Parameters

- `input`: An async sequence of audio buffers.
- `eventHandler`: An event handler.

## Return Value

Return Value An async sequence of shaped arrays containing extracted features. Each shaped array has a shape of [512].

## Discussion

Discussion You can call this method multiple times to process multiple streams.

## See Also

### Performing the transformation

- [AudioFeaturePrint.FeatureSequence](createmlcomponents/audiofeatureprint/featuresequence.md)
