Skip to content

seanghay/soundcheck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SoundCheck

A multi-processing audio check

pip install soundcheck

Basic example

soundcheck -i audio-dir/wavs

Result

+-------------+----------------+---------------+---------------+---------------+
| Total Files | Total Duration | Avg. Duration | Min. Duration | Max. Duration |
+-------------+----------------+---------------+---------------+---------------+
|    6,032    |  19 h, 44 m    |      11 s     |     0.6300    |    145.0200   |
+-------------+----------------+---------------+---------------+---------------+

Advanced Usage

soundcheck -q -r -i audio-dir -e "*.mp3" -e "*.aac" -j 4 -o filelist.tsv

CLI Reference

Usage: soundcheck [OPTIONS]

Options:
  -i, --input PATH      [required]
  -e, --extension TEXT  File extension to scan for. e.g. *.mp3
  -o, --output PATH     Output tsv file
  -r, --recursive       Recursive
  -q, --quiet           Silent
  -j, --jobs TEXT       Number of jobs
  --help                Show this message and exit.