import torch from torchmetrics.audio import SpeechReverberationModulationEnergyRatio metric = SpeechReverberationModulationEnergyRatio(8000) metric.update(torch.rand(8000)) fig_, ax_ = metric.plot()