Pipeline

Pipeline configuration and processing internals used by melody_features.get_all_features().

Configuration classes are documented under Package.

Input loading helpers for the feature extraction pipeline.

Per-melody and parallel processing helpers.

process_melody(args)[source]

Process a single melody and return its features.

Parameters:

args (tuple) – Tuple containing (melody_data, corpus_stats, idyom_features, phrase_gap, max_ngram_order, key_estimation)

Returns:

Tuple containing (melody_id, feature_dict, timings)

Return type:

tuple