code: def get_chirp_test(sample_rate, duration):
      """Create a `duration` seconds chirp from 0Hz to `nyquist frequency`"""
      n = np.arange(0, duration, 1 / sample_rate)
      samples = scipy.signal.chirp(
          n, 0, duration, sample_rate // 2, method="linear"
      )
      return samples.astype(np.float32)
  
file_path: audiomentations/tests/test_air_absorption.py
imports: from audiomentations import AirAbsorption
  import numpy
  import pytest
  import scipy
  import scipy.signal
label_desc: Use image node_id 1 for calling a global function with example usage: get_chirp_test(sample_rate, duration) and returns: samples