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

silencing vetted segments from the audio #151

Closed lucasgautheron closed 3 years ago

lucasgautheron commented 3 years ago

Is your feature request related to a problem? Please describe.

It might be useful to have some tool which replaces all vetted segments by silence in the recordings, preserving their duration.

The resulting audio could be shared safely, and it would still allow comparisons with annotations produced with the full recordings, because they would all share the same length. Researchers would still need the list of vetted segments to dismiss fake silences as uninformative.

Describe the solution you'd like

child-project silence-audio-segments /path/to/dataset --profile vetted_audio --segments /path/to/segments.csv

Or maybe this should be integrated into the conversion pipeline... idk

child-project convert /path/to/dataset --profile vetted_audio --silence-segments /path/to/segments.csv etc.
lucasgautheron commented 3 years ago

Closed by #202.