Skip to content

taras-sereda/audio-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

audio-utils

Usage

  1. Compute stats for directory with wav files: audio-utils stats <directory_path>
# without logging

 ./target/release/audio-utils stats examples           
num threads: 10

Calucalting total duration for directory: "examples"
Number of wav files: 1
Total duration: 0.001 hours; 2.926 seconds
MIN duration: 2.926 sec
MAX duration: 2.926 sec
MEAN duration: 2.926 sec
MEDIAN duration: 2.926 sec

# with logging
RUST_LOG=info ./target/release/audio-utils stats examples
[2024-05-29T09:18:45Z INFO  audio_utils] num threads: 10

Calucalting total duration for directory: "examples"
Number of wav files: 1
Total duration: 0.001 hours; 2.926 seconds
MIN duration: 2.926 sec
MAX duration: 2.926 sec
MEAN duration: 2.926 sec
MEDIAN duration: 2.926 sec

[2024-05-29T09:18:45Z INFO  audio_utils] Executed in 655.416µs
  1. Compute stats for NeMo style manifest: audio-utils manifest <manifest_path>

TODO

  • add min/max/mean/median audio durations for both manifest and folder based stats
  • [] Integrate symphonia for corpus creation tools, such as conversion from mp3 to wav
  • [] ONNX runtime to load onnx models in rust onnxruntime-crate

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages