1. 12 Oct, 2023 1 commit
  2. 09 Oct, 2023 1 commit
  3. 30 May, 2023 1 commit
    • Moto Hira's avatar
      Simplify sox namespace (#3383) · a81b0ed2
      Moto Hira authored
      Summary:
      Pull Request resolved: https://github.com/pytorch/audio/pull/3383
      
      This commit reduces `torchaudio::sox_*` namespace into `torchaudio::sox`.
      Also put Pybind11 registration and TorchBind registration into anonymous namescope.
      
      Differential Revision: D46257367
      
      fbshipit-source-id: 0f0f181eaa72036916e223263daf4b7c298fca0d
      a81b0ed2
  4. 29 Jul, 2022 1 commit
  5. 15 Sep, 2021 1 commit
  6. 07 Sep, 2021 1 commit
    • moto's avatar
      Extract PyBind11 feature implementations (#1739) · 2a67fcc1
      moto authored
      This PR moves the code related to PyBind11 to the dedicated directory `torchaudio/csrc/pybind`.
      
      Before, features related to PyBind11 (I/O for file-like object) was implemented in `torchaudio/csrc/sox` and the binding was defined in `torchaudio/csrc/pybind.cpp`. We used macro definition `TORCH_API_INCLUDE_EXTENSION_H` to turn on/off the feature, in addition to including/excluding `torchaudio/csrc/pybind.cpp` in the list of compiled source.
      
      In the previous manner, in C++ example, one had to rebuild libtorchaudio separately, but by splitting them completely at compile time, it should conceptually possible to distribute libtorchaudio within torchaudio Python package and reuse it for C++ example.
      2a67fcc1
  7. 08 Mar, 2021 1 commit
    • moto's avatar
      Replace sox conversion macros with Tensor op (#1370) · 0ea475af
      moto authored
      `SOX_SIGNED_16BIT_TO_SAMPLE` and `SOX_SIGNED_32BIT_TO_SAMPLE` uses left shift on signed integers, (negative values) which is UB.
      This PR replaces them (and other sox macros for `uint8` and `float` as well) with Tensor operations.
      0ea475af
  8. 16 Feb, 2021 1 commit
  9. 12 Feb, 2021 1 commit
  10. 04 Feb, 2021 1 commit
  11. 02 Feb, 2021 2 commits
  12. 01 Feb, 2021 1 commit
  13. 27 Jan, 2021 1 commit
  14. 26 Jan, 2021 1 commit
  15. 15 Jan, 2021 1 commit
  16. 07 Jan, 2021 1 commit
  17. 06 Jan, 2021 1 commit
  18. 22 Jul, 2020 1 commit
  19. 16 Jul, 2020 1 commit
    • moto's avatar
      Add Torchscript sox effects (#760) · 60a8e23d
      moto authored
      * Add sox_utils module
      
      * Make init/shutdown thread safe
      
      * Add sox effects implementation
      
      * Add test for sox effects
      
      * Update docstrings and add examples
      60a8e23d