1. 21 Jul, 2020 1 commit
  2. 20 Jul, 2020 4 commits
    • moto's avatar
      Update documentation and fix docstrings (#788) · 2381dd89
      moto authored
      - Addresses #549 #638 #786 
      - Add `torchaudio` top level module doc
      - Separate `torchaudio` top level module doc from `index.html`
      - Add `backend` module doc.
      - Remove `-> None` from function signature as it adds noise to documentation
      - Changed function argument name of `torchaudio.backend.sox_io_backend.save` from `tensor` to `src`, so that it matches with the reset of backends.
      - Tweak bunch of docstrings
      2381dd89
    • jimchen90's avatar
      Fix output type of upsampling (#801) · 937d52f8
      jimchen90 authored
      
      
      Fix output type of upsampling
      Co-authored-by: default avatarJi Chen <jimchen90@devfair0160.h2.fair>
      937d52f8
    • jimchen90's avatar
      Update default form in docstring (#802) · e82cc350
      jimchen90 authored
      
      
      * Update default form in docstring
      Co-authored-by: default avatarJi Chen <jimchen90@devfair0160.h2.fair>
      e82cc350
    • jimchen90's avatar
      Add LibriTTS dataset (#790) · 4b8aad7a
      jimchen90 authored
      
      
      * Add libritts
      
      Add LibriTTS dataset draft
      
      * Add libritts
      
      Use two separate ids for utterance_id.
      
      * Update output form
      
      Use full_id as utterance_id.
      
      * Update format
      
      Add space and test black format
      
      * Update test method
      
      * Add audio and text test
      
      Generate audio and test files on-the-fly in test 
      
      * Update format
      
      * Fix test error and remove assets libritts
      
      The test error is fixed by sorting the file in 4th element instead of 2nd element in samples. Since the files are generated on-the-fly, so the the libritts files in assets are removed.
      
      * Add seed in `get_whitenoise` function
      
      * Change utterance to text
      
      Change `_utterance` to `_text`.
      Co-authored-by: default avatarJi Chen <jimchen90@devfair0160.h2.fair>
      4b8aad7a
  3. 17 Jul, 2020 2 commits
  4. 16 Jul, 2020 4 commits
  5. 14 Jul, 2020 5 commits
  6. 13 Jul, 2020 1 commit
  7. 12 Jul, 2020 1 commit
  8. 08 Jul, 2020 3 commits
  9. 06 Jul, 2020 2 commits
  10. 01 Jul, 2020 6 commits
  11. 30 Jun, 2020 1 commit
  12. 29 Jun, 2020 1 commit
  13. 26 Jun, 2020 2 commits
  14. 25 Jun, 2020 2 commits
    • moto's avatar
      Add load function (#731) · 793eeab8
      moto authored
      This is a part of PRs to add new "sox_io" backend. #726 and depends on #718 and #728 .
      
      This PR adds `load` function to "sox_io" backend, which is  tested on the following audio formats;
       - `wav`
       - `mp3`
       - `flac`
       - `ogg/vorbis` *
      
      By default, "sox_io" backend returns Tensor with `float32` dtype and the shape of `[channel, time]`. The samples are normalized to fit in the range of `[-1.0, 1.0]`.
      
      Unlike existing "sox" backend, the new `load` function can handle WAV file natively, when the input format is WAV with integer type, (such as 32-bit signed integer, 16-bit signed integer and 8-bit unsigned integer) by providing `normalize=False`, this function can return integer Tensor, where the samples are expressed within the whole range of the corresponding dtype, that is, `int32` tensor for `32-bit PCM`, `int16` for `16-bit PCM` and `uint8` for `8-bit PCM`. This behavior follows [scipy.io.wavfile.read](https://docs.scipy.org/doc/scipy/reference/generated/scipy.io.wavfile.read.html). `normalize` parameter has no effect for other formats and the load function always return normalized value with `float32` Tensor.
      
      __* Note__ The current binary distribution of torchaudio does not contain `ogg/vorbis` and `opus` codecs. To handle these files, one needs to build torchaudio from the source with proper codecs in the system.
      
      __Note 2__ Since this PR, `scipy` becomes required module for running test. 
      793eeab8
    • moto's avatar
      0f0d0af3
  15. 24 Jun, 2020 2 commits
  16. 23 Jun, 2020 3 commits
    • moto's avatar
      37e194f4
    • moto's avatar
      Bake libsox in test base Docker image (#739) · 80bfb28b
      moto authored
      In #728, linux unit test switches to libsox provided by apt.
      For CPU jobs this is fine because all the job steps share the same Docker container,
      but on CPU job, each job step runs a script in a new Docker container, so
      libsox installed in a step is not available to the subsequent steps.
      
      To fix this, this PR moves the installation of libsox and sox to Docker build.
      80bfb28b
    • moto's avatar
      Refactor Cache bust mechanism and bust on daily basis (#742) · d9e6ce45
      moto authored
      This PR refactors cache generation mechanism by introducing dedicated command
      and bust cache on daily basis.
      
      At this moment, Windows unittest job for 3.6 and 3.7 are broken because of
      broken scipy but the environment is cached this persists until the next week.
      
      As we have nightly build, we do not need to keep cache for one week.
      d9e6ce45