EepNotesLoader
EepNotesLoader(unit=None, number_type=None, **kwargs)Loader for EEP .notes alignment files.
Subclasses :class:CsvLoader with configuration for the whitespace-separated, headerless .notes format. Each line contains onset (seconds), offset (seconds), and pitch (note name, “rest”, or comma-separated chord).
The loader: - Assigns column names start, end, pitch - Infers the staff number from the filename (e.g., *_vln1.notes -> staff 1) - Preserves “rest” entries and comma-separated chords as-is
Chord explosion (splitting G3,D4,B4,F5 into separate rows) is left to post-processing, typically during note matching.
Examples: >>> loader = EepNotesLoader.from_file(“EEP_Normal_align_vln1.notes”) >>> len(loader) 1266 >>> loader.events.summary()
>>> # Load all 4 instruments for a recording
>>> loader = EepNotesLoader()
>>> loader.load(*sorted(eep_dir.glob("*_align_*.notes")))
>>> len(loader)
4026