1021 add flexable attr control

This commit is contained in:
FelixChan
2025-10-21 15:27:03 +08:00
parent d6b68ef90b
commit b493ede479
15 changed files with 400 additions and 394 deletions

View File

@ -168,7 +168,7 @@ class CorpusMaker():
print("length of midi list: ", len(self.midi_list))
# Use set for faster lookup (O(1) per check)
processed_files_set = set(processed_files)
# self.midi_list = [x for x in self.midi_list if x.name not in processed_files_set]
self.midi_list = [x for x in self.midi_list if x.name not in processed_files_set]
# reverse the list to process the latest files first
self.midi_list.reverse()
print(f"length of midi list after filtering: ", len(self.midi_list))