LAAC-LSCP / ChildProject

Python package for the management of day-long recordings of children.
https://childproject.readthedocs.io
MIT License
13 stars 5 forks source link

Alice converter prints a meaningless warning #395

Closed LoannPeurey closed 2 years ago

LoannPeurey commented 2 years ago

Is your feature request related to a problem? Please describe. When importing alice raw annotations (.txt), the converter parses the audio names in the output and compares them to each other, checking if the alice output annotates multiple files. However, the names in the alice output are those of shorter clips extracted from the file. So they all are different and we find as many different files as there are lines in the output. The warning does not make sense because does not take into account the original name.

Describe the solution you'd like The name taken into account for deciding whether the file annotates multiple audios should be the name of audio files stripped from its 'onset' and 'offset' components.

LoannPeurey commented 2 years ago

c1fd430