Annotation Loader¶
- modusa.load_ann(path, clip=None)[source]¶
Load annotation from audatity label text file.
- Parameters:
path (str) –
label text file path.
clip (tuple[number, number] | number | None) –
Incase you clipped the audio signal, this parameter will help clip the annotation.
If you clip the audio, say from (10, 20), set the clip to (10, 20).
Default: None
- Returns:
annotation data structure
[(start, end, tag), …]
- Return type:
list[tuple, …]