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

Multithread conversion #27

Closed lucasgautheron closed 4 years ago

lucasgautheron commented 4 years ago

Closes #25.

Usage:

  1. create convert.sh
    #!/bin/bash
    python convert.py --source ../data/namibia/ --name mp --format WAV --codec pcm_s16le --sampling 16000 --threads 4
  2. run $ chmod +x convert.sh
  3. run $ sbatch --mem=64G --time=5:00:00 --cpus-per-task=4 --ntasks=1 -o namibia.txt ./convert.sh