- 14 May, 2024 1 commit
-
-
Richard Barnes authored
Differential Revision: D57294298 Pull Request resolved: https://github.com/pytorch/audio/pull/3791
-
- 12 Oct, 2023 2 commits
-
-
moto-meta authored
Differential Revision: D50205775 Pull Request resolved: https://github.com/pytorch/audio/pull/3651
-
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
-
- 02 Aug, 2023 1 commit
-
-
moto authored
Summary: When passing int16 type tensor to `save(backend="sox")`, the resulting file should be 16-bit signed PCM, but instead is 32-bit signed PCM. Resolves https://github.com/pytorch/audio/issues/3304 Pull Request resolved: https://github.com/pytorch/audio/pull/3524 Reviewed By: huangruizhe Differential Revision: D47941090 Pulled By: mthrok fbshipit-source-id: 2622b31eb1cbf03969f67ab2b2adec6e2ba677c4
-
- 01 Jun, 2023 1 commit
-
-
moto authored
Summary: This commit removes file-like obejct support so that we can remove custom patch The motivation and plan is outlined in https://github.com/pytorch/audio/issues/2950. Pull Request resolved: https://github.com/pytorch/audio/pull/3035 Reviewed By: hwangjeff Differential Revision: D44695647 Pulled By: mthrok fbshipit-source-id: 13af0234e288c041bc7b490e1f967f85ce7eb8ec
-
- 30 May, 2023 2 commits
-
-
Moto Hira authored
Summary: Pull Request resolved: https://github.com/pytorch/audio/pull/3389 Adopt more of const reference in sox source code. Differential Revision: D46264068 fbshipit-source-id: 809d34a6e16f621c856d4278ef7ce45a5868a717
-
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
-
- 23 May, 2023 1 commit
-
-
moto authored
Summary: When saving audio with vorbis, BPS should not be specified, otherwise warnings that cannot be turned off are shown. Address: https://github.com/pytorch/audio/issues/3358 Pull Request resolved: https://github.com/pytorch/audio/pull/3359 Reviewed By: nateanl Differential Revision: D46095037 Pulled By: mthrok fbshipit-source-id: 6885a12dc3ec84bf39f0159ee58d1a2a87cff7e4
-
- 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
-
- 31 May, 2022 1 commit
-
-
moto authored
Summary: Extracted from https://github.com/pytorch/audio/issues/2419. Move the failure of sox_io from C++ to Python layer. Pull Request resolved: https://github.com/pytorch/audio/pull/2423 Reviewed By: carolineechen Differential Revision: D36766152 Pulled By: mthrok fbshipit-source-id: 53f897a608e97b81ebe5df29577374d88ce178f3
-
- 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.
-
- 20 Jul, 2021 1 commit
-
-
hwangjeff authored
-
- 24 May, 2021 1 commit
-
-
Denis Kokarev authored
-
- 17 Mar, 2021 1 commit
-
-
prarabdh9909 authored
-
- 15 Mar, 2021 1 commit
-
-
Isaac Seessel authored
-
- 24 Feb, 2021 1 commit
-
-
Prabhat Roy authored
Some audio formats like `gsm` does not have valid frame numbers when opened. But `libsox` can properly handle these audios, so checking if `length > 0` is not necessary and too strict.
-
- 23 Feb, 2021 1 commit
-
-
Francisco Massa authored
-
- 19 Feb, 2021 2 commits
-
-
SJ authored
-
Eli Uriegas authored
After a9f5e7229 was merged into upstream pytorch the passing of references within torch c extension functions is no longer allowed. This just removes the reference and passes by value instead. Signed-off-by:Eli Uriegas <eliuriegas@fb.com>
-
- 18 Feb, 2021 1 commit
-
-
Prabhat Roy authored
-
- 16 Feb, 2021 1 commit
-
-
Prabhat Roy authored
-
- 12 Feb, 2021 1 commit
-
-
moto authored
-
- 03 Feb, 2021 1 commit
-
-
moto authored
* Distinguish get_encodinginfo for Tensor I/O and save output * Isolate get_tensor_encodinginfo so as not to use the same helper function
-
- 02 Feb, 2021 1 commit
-
-
Prabhat Roy authored
Co-authored-by:Prabhat Roy <prabhatroy@fb.com>
-
- 28 Jan, 2021 1 commit
-
-
Caroline Chen authored
-
- 27 Jan, 2021 2 commits
- 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
-
- 04 Dec, 2020 1 commit
-
-
moto authored
-
- 11 Aug, 2020 1 commit
-
-
moto authored
-
- 22 Jul, 2020 1 commit
-
-
moto authored
* Separate sox list format function for read and write * Guard MP3 smoke test
-
- 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
-
- 01 Jul, 2020 1 commit
-
-
moto authored
This is a part of PRs to add new "sox_io" backend. #726 and depends on #718, #728 and #731. This PR adds `save` function to "sox_io" backend, which can save Tensor to a file with the following audio formats; - `wav` - `mp3` - `flac` - `ogg/vorbis`
-
- 25 Jun, 2020 1 commit
-
-
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.
-