• moto's avatar
    Add TorchScript-able "info" func to sox_io backend (#728) · 88fccd14
    moto authored
    This is a part of PRs to add new "sox_io" backend #726, and depends on #718.
    
    This PR adds `info` function to "sox_io" backend, which allows users to fetch some metadata of an audio file. 
    At this moment, the information retrieved are;
    
     - Number of samples in the audio file
     - Sampling rate
     - Number of channels
    88fccd14
common_utils.py 6.18 KB