code: def test_apply_pitch_shift(self):
      samples = np.zeros((2048,), dtype=np.float32)
      sample_rate = 16000
      augmenter = Compose(
          [PitchShift(min_semitones=-2, max_semitones=-1, p=1.0)]
      )
      samples = augmenter(samples=samples, sample_rate=sample_rate)
  
      assert samples.dtype == np.float32
      assert samples.shape[-1] == 2048
  
file_path: audiomentations/tests/test_pitch_shift.py
imports: from copy import deepcopy
  import numpy
  from numpy.testing import assert_array_equal
  from audiomentations import PitchShift, Compose
label_desc: Use image node_id 1 for calling the TestPitchShift obj's underlying member method code with example usage: obj.test_apply_pitch_shift() without return types