1. 01 Jul, 2020 1 commit
  2. 19 Jun, 2020 1 commit
    • 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
  3. 18 Jun, 2020 1 commit
    • moto's avatar
      Make TestCases backend-aware (#719) · b17da7a4
      moto authored
      * Make tests backend aware by introducing TorchaudioTestCase and reset backend for each TestCase.
      
      * Set backends for the test cases that require specific backend.
      b17da7a4
  4. 16 Jun, 2020 1 commit
    • moto's avatar
      Refactor backend and not rely on global variables on switching (#698) · e9f19c35
      moto authored
      * Refactor backend switching
      
      1. Do not rely on global variables for backend switch
         So that load/save/info/load_wav functions will be torchscript-able
      2. Add no_backend module to for the case there is no backend module available
         [bonus] This allows the whole codebase importable on systems that do not have torchaudio C++ extension nor soundfile.
      e9f19c35