pumpp.core.transform

pumpp.core.transform(audio_f, jam, *ops)[source]

Apply a set of operations to a track

Parameters:

audio_f : str

The path to the audio file

jam : str, jams.JAMS, or file-like

A JAMS object, or path to a JAMS file.

If not provided, an empty jams object will be created.

ops : list of task.BaseTaskTransform or feature.FeatureExtractor

The operators to apply to the input data

Returns:

data : dict

Extracted features and annotation encodings