- 12 Oct, 2023 1 commit
-
-
moto-meta authored
Differential Revision: D50086556 Pull Request resolved: https://github.com/pytorch/audio/pull/3648
-
- 09 Oct, 2023 1 commit
-
-
moto-meta authored
Differential Revision: D49965263 Pull Request resolved: https://github.com/pytorch/audio/pull/3639
-
- 30 May, 2023 1 commit
-
-
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
-
- 29 Jul, 2022 1 commit
-
-
Javier Cardenete Morales authored
Summary: Pull Request resolved: https://github.com/pytorch/audio/pull/2592 std::runtime_error does not preserve the C++ stack trace, so it is unclear to users what went wrong internally. PyTorch's TORCH_CHECK macro allows to print C++ stack trace when TORCH_SHOW_CPP_STACKTRACES environment variable is set to 1. Reviewed By: mthrok Differential Revision: D38219331 fbshipit-source-id: f51c27111077e927f97127f73f83a31b8e74f61f
-
- 15 Sep, 2021 1 commit
-
-
hwangjeff authored
Applies style fixes identified in fbcode.
-
- 07 Sep, 2021 1 commit
-
-
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.
-
- 08 Mar, 2021 1 commit
-
-
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.
-
- 16 Feb, 2021 1 commit
-
-
Prabhat Roy authored
-
- 12 Feb, 2021 1 commit
-
-
moto authored
-
- 04 Feb, 2021 1 commit
-
-
moto authored
-
- 02 Feb, 2021 2 commits
-
-
Prabhat Roy authored
Co-authored-by:Prabhat Roy <prabhatroy@fb.com>
-
Prabhat Roy authored
Co-authored-by:Prabhat Roy <prabhatroy@fb.com>
-
- 01 Feb, 2021 1 commit
-
-
moto authored
[`sox_format_t.tell_off`](https://fossies.org/dox/sox-14.4.2/structsox__format__t.html#a2016a9fa839f3139e3c2f64381b0c445) should be representing current offset in file, but there are cases it does not. This was causing segmentation fault in some cases. This PR fixes it by replacing it with `ftell` call and add extra check so that if the same thing should happen, it will throw runtime error instead of segmentation fault.
-
- 27 Jan, 2021 1 commit
-
-
moto authored
-
- 26 Jan, 2021 1 commit
-
-
moto authored
-
- 15 Jan, 2021 1 commit
-
-
moto authored
* Support file-like object in save func * Disable CircleCI cache for TP artifacts for cleaner build
-
- 07 Jan, 2021 1 commit
-
-
moto authored
-
- 06 Jan, 2021 1 commit
-
-
moto authored
-
- 22 Jul, 2020 1 commit
-
-
moto authored
* Replace save/load function with sox effects chain
-
- 16 Jul, 2020 1 commit
-
-
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
-