code: def test_apply_effects_file(self, args):
      effects = args["effects"]
      channels_first = True
      num_channels = args.get("num_channels", 2)
      input_sr = args.get("input_sample_rate", 8000)
  
      trans = SoxEffectFileTransform(effects, channels_first)
      trans = torch_script(trans)
  
      path = self.get_temp_path("input.wav")
      wav = get_sinusoid(
          frequency=800,
          sample_rate=input_sr,
          n_channels=num_channels,
          dtype="float32",
          channels_first=channels_first,
      )
      save_wav(
          path, wav, sample_rate=input_sr, channels_first=channels_first
      )
  
      found, sr_found = trans(path)
      expected, sr_expected = sox_effects.apply_effects_file(
          path, effects, channels_first
      )
  
      assert sr_found == sr_expected
      self.assertEqual(expected, found)
  
file_path: audio/test/torchaudio_unittest/sox_effect/torchscript_test.py
imports: from typing import List
  import torch
  from parameterized import parameterized
  from torchaudio import sox_effects
  from torchaudio_unittest.common_utils import get_sinusoid, save_wav, skipIfNoSox, TempDirMixin, torch_script, TorchaudioTestCase
  from .common import load_params
label_desc: Use image node_id 2 for calling the TestTorchScript obj's underlying member method code with example usage: obj.test_apply_effects_file(args) without return types