applied(to:eventHandler:)
Extracts audio features from an a sequence of audio buffers
Declaration
func applied<S>(to input: S, eventHandler: EventHandler? = nil) throws -> AudioFeaturePrint.FeatureSequence where S : TemporalSequence, S.Feature == AVAudioPCMBufferParameters
- input:
An async sequence of audio buffers.
- eventHandler:
An event handler.
Return Value
An async sequence of shaped arrays containing extracted features. Each shaped array has a shape of [512].
Discussion
You can call this method multiple times to process multiple streams.