Solved by vincentqb in post #2 
              
              
                torchaudio doesn’t provide a dedicated compose transformation since 0.3.0 (see release notes). Instead, one can simply apply them one after the other x = transform1(x); x = transform2(x), or use nn.Sequential(transform1, transform2).