Reverb Augmentation
See original GitHub issueCurrently supported in torchaudio using sox.
import torch
import torchaudio
from pyannote.audio.utils.preview import listen
from IPython.display import Audio
x = torchaudio.sox_effects.effect_names()
effects = [["reverb"]]
wave,sr = torchaudio.load("./tests/data/tst00.wav")
display(Audio(wave, rate=sr))
wave, sr = torchaudio.sox_effects.apply_effects_tensor(wave, sr, effects)
print(sr, wave.shape)
display(Audio(wave[0][None], rate=sr))
I found an article where someone implements Schroeder’s Reverberator algorthim and comes with code
Is this something that you are planning to implement/ in the process of doing so?
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
a study on data augmentation of reverberant speech for robust ...
In this paper we investigate techniques for simulation of far-field speech. Specifically we compare reverberation us- ing real and simulated RIRs and also ......
Read more >Impulse Response — data augmentation for audio deep ...
A powerful tool employed here is the data augmentation. Using the impulse responses (convolutional reverb), we can simulate audio files to sound as...
Read more >facebookresearch/WavAugment: A library for speech ... - GitHub
WavAugment performs data augmentation on audio data. The audio data is represented as pytorch tensors. It is particularly useful for speech data.
Read more >Audio Data Augmentation — Torchaudio nightly documentation
Convolution reverb is a technique that's used to make clean audio sound as though it has been produced in a different environment.
Read more >Augmentation — lhotse 0.1 documentation
On the other hand, for the CLI we provide a small number of predefined effect chains, such as pitch (pitch shifting), reverb (reverberation),...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I forgot about this one which would get close to this feature: https://github.com/facebookresearch/denoiser/blob/master/denoiser/augment.py#L29
It could be interesting to try, even if simulated RIRs are usually much more realistic than DSP-based artificial reverbs (at least open-source ones, commercial ones are another story). I think it has never been explored and can actually be much faster than convolving with long RIRs.