@@ -41,7 +41,7 @@ def make_performance_features(
4141 feature_functions : Union [List , str ],
4242 add_idx : bool = True ,
4343 add_midi_idx : bool = False ,
44- include_score_markings : bool = True
44+ include_score_markings : bool = True ,
4545):
4646 """
4747 Compute the performance features. This function is defined in the same
@@ -73,9 +73,11 @@ def make_performance_features(
7373 performance_features : structured array
7474 """
7575 m_score , unique_onset_idxs , snote_ids = compute_matched_score (
76- score , performance , alignment ,
77- include_score_markings = include_score_markings ,
78- include_midi_idx = add_midi_idx
76+ score ,
77+ performance ,
78+ alignment ,
79+ include_score_markings = include_score_markings ,
80+ include_midi_idx = add_midi_idx ,
7981 )
8082
8183 acc = []
@@ -149,7 +151,7 @@ def compute_matched_score(
149151 score : ScoreLike ,
150152 performance : PerformanceLike ,
151153 alignment : list ,
152- include_score_markings = True ,
154+ include_score_markings = True ,
153155 include_midi_idx : bool = False ,
154156):
155157 """
@@ -165,7 +167,7 @@ def compute_matched_score(
165167 The score--performance alignment, a list of dictionaries
166168 include_score_markings (bool): include dynamcis and articulation
167169 markings (Optional)
168- include_midi_idx (bool): include MIDI note idx in the matched
170+ include_midi_idx (bool): include MIDI note idx in the matched
169171 array (Optional)
170172
171173 Returns
@@ -175,9 +177,11 @@ def compute_matched_score(
175177 """
176178
177179 m_score , snote_ids = to_matched_score (
178- score , performance , alignment ,
179- include_score_markings = include_score_markings ,
180- include_midi_idx = include_midi_idx
180+ score ,
181+ performance ,
182+ alignment ,
183+ include_score_markings = include_score_markings ,
184+ include_midi_idx = include_midi_idx ,
181185 )
182186
183187 (time_params , unique_onset_idxs ) = encode_tempo (
0 commit comments