question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Reverb Augmentation

See original GitHub issue

Currently 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:open
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
mparientecommented, Nov 11, 2020

I forgot about this one which would get close to this feature: https://github.com/facebookresearch/denoiser/blob/master/denoiser/augment.py#L29

1reaction
popcornellcommented, Nov 11, 2020

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found